diff --git a/src/widgets/dialogs/ChannelFilterEditorDialog.cpp b/src/widgets/dialogs/ChannelFilterEditorDialog.cpp index c45fd06d3..a399f08c3 100644 --- a/src/widgets/dialogs/ChannelFilterEditorDialog.cpp +++ b/src/widgets/dialogs/ChannelFilterEditorDialog.cpp @@ -21,7 +21,7 @@ ChannelFilterEditorDialog::ChannelFilterEditorDialog(QWidget *parent) auto vbox = new QVBoxLayout(this); auto filterVbox = new QVBoxLayout; auto buttonBox = new QHBoxLayout; - auto okButton = new QPushButton("OK"); + auto okButton = new QPushButton("Ok"); auto cancelButton = new QPushButton("Cancel"); okButton->setDefault(true); @@ -35,8 +35,8 @@ ChannelFilterEditorDialog::ChannelFilterEditorDialog(QWidget *parent) buttonBox->addWidget(helpLabel); buttonBox->addStretch(1); - buttonBox->addWidget(cancelButton); buttonBox->addWidget(okButton); + buttonBox->addWidget(cancelButton); QObject::connect(okButton, &QAbstractButton::clicked, [this] { this->accept(); diff --git a/src/widgets/dialogs/SelectChannelFiltersDialog.cpp b/src/widgets/dialogs/SelectChannelFiltersDialog.cpp index 798ae6162..d9b020d96 100644 --- a/src/widgets/dialogs/SelectChannelFiltersDialog.cpp +++ b/src/widgets/dialogs/SelectChannelFiltersDialog.cpp @@ -11,15 +11,15 @@ SelectChannelFiltersDialog::SelectChannelFiltersDialog( auto vbox = new QVBoxLayout(this); auto itemVbox = new QVBoxLayout; auto buttonBox = new QHBoxLayout; - auto okButton = new QPushButton("OK"); + auto okButton = new QPushButton("Ok"); auto cancelButton = new QPushButton("Cancel"); vbox->addLayout(itemVbox); vbox->addLayout(buttonBox); buttonBox->addStretch(1); - buttonBox->addWidget(cancelButton); buttonBox->addWidget(okButton); + buttonBox->addWidget(cancelButton); QObject::connect(okButton, &QAbstractButton::clicked, [this] { this->accept();