Fix SettingsDialog to do validity check when OK is pressed

This commit is contained in:
2025-03-29 14:45:32 -05:00
parent 2e9b37f3b4
commit af07f8853a
2 changed files with 8 additions and 5 deletions

View File

@@ -38,7 +38,8 @@ class SettingsDialog: public QDialog {
QWidget *setupViewConfig(QWidget *parent);
QWidget *setupImageConfig(QWidget *parent);
QWidget *setupButtons(QWidget *parent);
void handleApply();
[[nodiscard]]
int handleApply();
void handleOK();
void setupViewRow(int row, View const&view = {});
/**