Commit 3450adf5 authored by Igor Grkavac's avatar Igor Grkavac
Browse files

[tabbox] Fix for Window Switcher

Loop thought the list of modes twice to complete the logic.

BUG: 419654
parent f237f273
...@@ -1359,7 +1359,7 @@ void TabBox::keyPress(int keyQt) ...@@ -1359,7 +1359,7 @@ void TabBox::keyPress(int keyQt)
QTimer::singleShot(50, this, replayWithChangedTabboxMode); QTimer::singleShot(50, this, replayWithChangedTabboxMode);
} }
break; break;
} else if (++j > ModeCount) { // guarding counter for invalid modes } else if (++j > 2*ModeCount) { // guarding counter for invalid modes
qCDebug(KWIN_TABBOX) << "Invalid TabBoxMode"; qCDebug(KWIN_TABBOX) << "Invalid TabBoxMode";
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment