UnsavedChangesDialog

* Fixed a crash on preset changing and press Cancel button in SavePresetDialog
* Added Cancel button for MessageDialog after check "Remember my choice"

SplashScreen
* Set Version string in respect to the height of a Title string
This commit is contained in:
YuSanka 2020-10-15 19:10:34 +02:00 committed by Oleksandra Yushchenko
parent 1b2dcabf94
commit 772b0b760e
3 changed files with 22 additions and 14 deletions

View file

@ -253,7 +253,7 @@ public:
void show_info_line(Action action, std::string preset_name = "");
void update_config(Action action);
void close(Action action);
void save(PresetCollection* dependent_presets);
bool save(PresetCollection* dependent_presets);
bool save_preset() const { return m_exit_action == Action::Save; }
bool transfer_changes() const { return m_exit_action == Action::Transfer; }