diff options
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 962e401e..55e0a593 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -6218,6 +6218,16 @@ void MainWindow::on_showHiddenBox_toggled(bool checked) void MainWindow::on_bossButton_clicked() { + const auto r = QMessageBox::question( + this, tr("Sorting plugins"), + tr("Are you sure you want to sort your plugins list?"), + QMessageBox::Yes | QMessageBox::No); + + if (r != QMessageBox::Yes) { + return; + } + + m_OrganizerCore.savePluginList(); setEnabled(false); |
