diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-11-22 17:02:07 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-11-22 17:12:51 -0700 |
| commit | b1db3019f4700021479e811029b11f3f824a244f (patch) | |
| tree | 147320241457e97e0a71503fcc205829acf86ceb /src/mainwindow.h | |
| parent | cf137606fd98eb0bee65a10d6e6e65f525967689 (diff) | |
Fix selecting a new profile
This fixes clicking the "select" button in the profiles dialog when a newly created profile is selected. This was broken as the profile was being selected before the profile was added to the list of selections.
Fixes #1489
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 6626bf51..039f64ac 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -198,7 +198,7 @@ private: QMenu* createPopupMenu() override; void activateSelectedProfile(); - bool refreshProfiles(bool selectProfile = true); + bool refreshProfiles(bool selectProfile = true, QString newProfile = QString()); void refreshExecutablesList(); bool modifyExecutablesDialog(int selection); |
