Improve the editor feature profiles UX

- Add an help message when no profile is selected.
  - This replaces the class/property trees which are now hidden
    when no profile is selected.
- Display `(none)` as the current profile when no profile is
  currently active.
- Make the newly created/imported profile the current if it's the
  first profile to be added to the list.
- Make more strings localizable.
This commit is contained in:
Hugo Locurcio 2020-03-22 21:52:06 +01:00
parent 7acdf74a6a
commit 4a1f22d1ec
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
2 changed files with 33 additions and 5 deletions

View file

@ -121,8 +121,11 @@ class EditorFeatureProfileManager : public AcceptDialog {
HSplitContainer *h_split;
VBoxContainer *class_list_vbc;
Tree *class_list;
VBoxContainer *property_list_vbc;
Tree *property_list;
Label *no_profile_selected_help;
EditorFileDialog *import_profiles;
EditorFileDialog *export_profile;