Shrink Engine Dialog when hiding the advanced section

This commit is contained in:
Robin Gareus 2024-05-23 21:28:31 +02:00
parent 3ce07580cb
commit 5f17d1b399
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -2863,6 +2863,9 @@ EngineControl::on_latency_expand ()
lbl_midi_system.hide ();
midi_option_combo.hide ();
midi_devices_button.hide ();
if (!UIConfiguration::instance().get_allow_to_resize_engine_dialog ()) {
resize (1, 1); // shrink window
}
}
}