mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 18:48:12 +08:00
Fix sorting of message enum variants
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user