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