kcms/tabbox: Update layout name in response to user input
The current index can change when populating the combobox.
This commit is contained in:
parent
d3a2e07002
commit
4b7874391d
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ KWinTabBoxConfigForm::KWinTabBoxConfigForm(TabboxType type, TabBoxSettings *conf
|
|||
connect(ui->orderMinimized, &QAbstractButton::clicked, this, &KWinTabBoxConfigForm::onOrderMinimizedMode);
|
||||
connect(ui->showDesktop, &QAbstractButton::clicked, this, &KWinTabBoxConfigForm::onShowDesktopMode);
|
||||
|
||||
connect(ui->switchingModeCombo, qOverload<int>(&QComboBox::currentIndexChanged), this, &KWinTabBoxConfigForm::onSwitchingMode);
|
||||
connect(ui->effectCombo, qOverload<int>(&QComboBox::currentIndexChanged), this, &KWinTabBoxConfigForm::onEffectCombo);
|
||||
connect(ui->switchingModeCombo, &QComboBox::activated, this, &KWinTabBoxConfigForm::onSwitchingMode);
|
||||
connect(ui->effectCombo, &QComboBox::activated, this, &KWinTabBoxConfigForm::onEffectCombo);
|
||||
|
||||
auto initShortcutWidget = [this](KKeySequenceWidget *widget, const char *name) {
|
||||
widget->setCheckActionCollections({m_shortcuts->actionCollection()});
|
||||
|
|
Loading…
Reference in a new issue