mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-23 07:35:02 +00:00
Fix sorting of message enum variants
This commit is contained in:
parent
b17432b1c4
commit
3038d72226
25 changed files with 254 additions and 111 deletions
|
@ -164,8 +164,11 @@ impl JsEditorHandle {
|
|||
self.dispatch(message);
|
||||
}
|
||||
|
||||
pub fn open_document_file(&self, name: String, content: String) {
|
||||
let message = PortfolioMessage::OpenDocumentFile(name, content);
|
||||
pub fn open_document_file(&self, document_name: String, document_serialized_content: String) {
|
||||
let message = PortfolioMessage::OpenDocumentFile {
|
||||
document_name,
|
||||
document_serialized_content,
|
||||
};
|
||||
self.dispatch(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue