Skip to content

Commit 05a5ed4

Browse files
committed
Update recovery config options
1 parent 9ed8339 commit 05a5ed4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Source/MainWindow.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,18 @@ MainWindow::MainWindow(const File& fileToLoad)
131131
else
132132
{
133133
LOGD("Detected difference between recoveryConfig and lastConfig; displaying alert window...");
134-
bool loadRecovery = AlertWindow::showOkCancelBox(AlertWindow::WarningIcon, "Reloading Settings",
134+
int loadRecovery = AlertWindow::showYesNoCancelBox(AlertWindow::WarningIcon, "Reloading Settings",
135135
"It looks like the GUI crashed during your last run, "
136136
"causing the configured settings to not save properly. "
137-
"Do you want to load the recovery config instead?",
138-
"Yes", "No");
137+
"Which configuration do you want to load?",
138+
"Recovery Config", "Last Config", "Empty Signal Chain");
139139

140-
if (loadRecovery)
140+
if (loadRecovery == 1)
141141
{
142142
LOGA("User chose OK, loading recoveryConfig...");
143143
ui->getEditorViewport()->loadState(recoveryConfig);
144144
}
145-
else
145+
else if(loadRecovery == 2)
146146
{
147147
LOGA("User chose cancel, loading lastConfig...");
148148
ui->getEditorViewport()->loadState(lastConfig);

0 commit comments

Comments
 (0)