mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
filter: show currently selected preset in a text field
This provides some visual feedback on the currently selected preset. Update when changing selection or clearing the filter. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
e1c44a0a4d
commit
1ed61aeabf
3 changed files with 35 additions and 4 deletions
|
@ -50,6 +50,8 @@ private:
|
|||
void selectPreset(int i);
|
||||
void clearFilterData();
|
||||
std::unique_ptr<QMenu> loadFilterPresetMenu;
|
||||
int selectedPreset() const; // returns -1 of no preset is selected
|
||||
void updatePresetLabel();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue