Custom note kind field fix
Now gets hidden if the note selected isn't a custom one
This commit is contained in:
@@ -139,6 +139,14 @@ class ChartEditorNoteDataToolbox extends ChartEditorBaseToolbox
|
||||
super.refresh();
|
||||
|
||||
toolboxNotesNoteKind.value = ChartEditorDropdowns.lookupNoteKind(chartEditorState.noteKindToPlace);
|
||||
if (toolboxNotesNoteKind.value.id == '~CUSTOM~' && chartEditorState.noteKindToPlace != null)
|
||||
{
|
||||
showCustom();
|
||||
}
|
||||
else
|
||||
{
|
||||
hideCustom();
|
||||
}
|
||||
toolboxNotesCustomKind.value = chartEditorState.noteKindToPlace;
|
||||
|
||||
createNoteKindParams(chartEditorState.noteKindToPlace);
|
||||
|
||||
Reference in New Issue
Block a user