File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments