autotests: Fix zero page access

Fix zero page access for real this time.
This commit is contained in:
Vlad Zagorodniy 2019-07-29 23:28:12 +03:00
parent 0a693ce7f1
commit e110b126f7

View file

@ -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
}