mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 19:18:13 +08:00
Add clear artboards button to undo history (#1643)
This commit is contained in:
@@ -254,7 +254,7 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
no_active_document,
|
||||
MenuBarEntryChildren(vec![vec![MenuBarEntry {
|
||||
label: "Clear Artboards".into(),
|
||||
action: MenuBarEntry::create_action(|_| GraphOperationMessage::ClearArtboards.into()),
|
||||
action: MenuBarEntry::create_action(|_| DocumentMessage::ClearArtboards.into()),
|
||||
disabled: no_active_document,
|
||||
..MenuBarEntry::default()
|
||||
}]]),
|
||||
|
||||
Reference in New Issue
Block a user