forked from eden-emu/eden
yuzu qt: Add an Apply button to configuration dialogs
Most of the code already exists to do this, but the Apply button itself was never added. This adds a button and boolean that tells yuzu to save the configuration after applying settings, even if close/Cancel is pressed on the dialog. Changes after applying will not be saved when Cancel is pressed, though.
This commit is contained in:
parent
7626ca3343
commit
c1bad4357a
6 changed files with 59 additions and 20 deletions
|
@ -39,6 +39,8 @@ private:
|
|||
void changeEvent(QEvent* event) override;
|
||||
void RetranslateUI();
|
||||
|
||||
void HandleApplyButtonClicked();
|
||||
|
||||
void LoadConfiguration();
|
||||
|
||||
std::unique_ptr<Ui::ConfigurePerGame> ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue