mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Fix bug with not displaying flags for incompatible presets
This commit is contained in:
parent
7047f4365a
commit
0596660dda
3 changed files with 2 additions and 2 deletions
|
@ -1614,6 +1614,7 @@ void Tab::update_ui_from_settings()
|
|||
{
|
||||
// Show the 'show / hide presets' button only for the print and filament tabs, and only if enabled
|
||||
// in application preferences.
|
||||
m_show_btn_incompatible_presets = get_app_config()->get("show_incompatible_presets")[0] == '1' ? true : false;
|
||||
bool show = m_show_btn_incompatible_presets && m_presets->name().compare("printer") != 0;
|
||||
show ? m_btn_hide_incompatible_presets->Show() : m_btn_hide_incompatible_presets->Hide();
|
||||
// If the 'show / hide presets' button is hidden, hide the incompatible presets.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue