mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fix for #5231. Suppress scrolling for the PresetComboBoxes when they aren't dropped.
This commit is contained in:
parent
1ce8cddbda
commit
250bd689f2
2 changed files with 17 additions and 0 deletions
|
@ -86,6 +86,7 @@ protected:
|
|||
|
||||
int m_last_selected;
|
||||
int m_em_unit;
|
||||
bool m_suppress_change { true };
|
||||
|
||||
// parameters for an icon's drawing
|
||||
int icon_height;
|
||||
|
@ -98,6 +99,7 @@ protected:
|
|||
|
||||
PrinterTechnology printer_technology {ptAny};
|
||||
|
||||
bool check_event_for_suppress_change(wxCommandEvent& evt);
|
||||
void invalidate_selection();
|
||||
void validate_selection(bool predicate = false);
|
||||
void update_selection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue