Disable edit buttons if no selection
This commit is contained in:
@@ -32,6 +32,7 @@ class RemoveNotesCommand implements ChartEditorCommand
|
||||
state.saveDataDirty = true;
|
||||
state.noteDisplayDirty = true;
|
||||
state.notePreviewDirty = true;
|
||||
state.editButtonsDirty = true;
|
||||
|
||||
state.sortChartData();
|
||||
}
|
||||
@@ -51,6 +52,7 @@ class RemoveNotesCommand implements ChartEditorCommand
|
||||
state.saveDataDirty = true;
|
||||
state.noteDisplayDirty = true;
|
||||
state.notePreviewDirty = true;
|
||||
state.editButtonsDirty = true;
|
||||
|
||||
state.sortChartData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user