mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:20:05 +00:00
Set OK as default settings dialog button
This commit is contained in:
parent
94bb3c9430
commit
4cd98ef4ac
1 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include <QFontDatabase>
|
||||
#include <QFontDialog>
|
||||
#include <QGeoPositionInfo>
|
||||
#include <QPushButton>
|
||||
#include <QStandardItemModel>
|
||||
#include <QToolButton>
|
||||
|
||||
|
|
@ -291,6 +292,10 @@ SettingsDialog::SettingsDialog(QWidget* parent) :
|
|||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
// Set OK as default
|
||||
ui->buttonBox->button(QDialogButtonBox::StandardButton::Ok)
|
||||
->setDefault(true);
|
||||
|
||||
// General
|
||||
p->SetupGeneralTab();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue