autotests: Fix zero page access
Fix zero page access for real this time.
This commit is contained in:
parent
0a693ce7f1
commit
e110b126f7
1 changed files with 3 additions and 2 deletions
|
@ -1778,8 +1778,9 @@ void Workspace::setWasUserInteraction()
|
|||
void Workspace::updateTabbox()
|
||||
{
|
||||
#ifdef KWIN_BUILD_TABBOX
|
||||
if (TabBox::TabBox::self()->isDisplayed()) {
|
||||
TabBox::TabBox::self()->reset(true);
|
||||
TabBox::TabBox *tabBox = TabBox::TabBox::self();
|
||||
if (tabBox && tabBox->isDisplayed()) {
|
||||
tabBox->reset(true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue