Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwintabbox/main.cpp
Show First 20 Lines • Show All 484 Lines • ▼ Show 20 Line(s) | 480 | { | |||
---|---|---|---|---|---|
485 | ui->highlightWindowCheck->setEnabled(index >= Layout); | 485 | ui->highlightWindowCheck->setEnabled(index >= Layout); | ||
486 | } | 486 | } | ||
487 | 487 | | |||
488 | void KWinTabBoxConfig::tabBoxToggled(bool on) | 488 | void KWinTabBoxConfig::tabBoxToggled(bool on) | ||
489 | { | 489 | { | ||
490 | CHECK_CURRENT_TABBOX_UI | 490 | CHECK_CURRENT_TABBOX_UI | ||
491 | on = !on || ui->effectCombo->currentIndex() >= Layout; | 491 | on = !on || ui->effectCombo->currentIndex() >= Layout; | ||
492 | ui->highlightWindowCheck->setEnabled(on); | 492 | ui->highlightWindowCheck->setEnabled(on); | ||
493 | emit changed(); | 493 | markAsChanged(); | ||
494 | } | 494 | } | ||
495 | 495 | | |||
496 | void KWinTabBoxConfig::configureEffectClicked() | 496 | void KWinTabBoxConfig::configureEffectClicked() | ||
497 | { | 497 | { | ||
498 | CHECK_CURRENT_TABBOX_UI | 498 | CHECK_CURRENT_TABBOX_UI | ||
499 | 499 | | |||
500 | const int effect = ui->effectCombo->currentIndex(); | 500 | const int effect = ui->effectCombo->currentIndex(); | ||
501 | if (effect >= Layout) { | 501 | if (effect >= Layout) { | ||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |