diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a2cc74dd..35d614b4 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2210,7 +2210,7 @@ void MainWindow::on_actionAdd_Profile_triggered() profilesDialog.exec(); m_SavesTab->refreshSaveList(); // since the save list may now be outdated we have to refresh it completely - if (refreshProfiles(true, profilesDialog.selectedProfile().value()) && !profilesDialog.failed()) { + if (refreshProfiles(true, profilesDialog.selectedProfile().value_or("")) && !profilesDialog.failed()) { break; } } |
