Fixed behaviour of buttons in Welcome, Find, Settings, VFS and Debugger dialogs - now reacting to button click, not press

This commit is contained in:
Silent 2019-07-09 22:20:55 +02:00 committed by Ivan
parent ab228d6407
commit 2016a33277
6 changed files with 17 additions and 17 deletions

View file

@ -31,7 +31,7 @@ welcome_dialog::welcome_dialog(QWidget* parent) : QDialog(parent), ui(new Ui::we
settings->SetValue(gui::ib_show_welcome, QVariant(!checked));
});
connect(ui->okay, &QPushButton::pressed, this, &QDialog::accept);
connect(ui->okay, &QPushButton::clicked, this, &QDialog::accept);
layout()->setSizeConstraint(QLayout::SetFixedSize);
}