mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix filter inconsistency (#2480)
This commit is contained in:
parent
032a791ec1
commit
798384c931
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue