delay latte view showing for Meta global shortcut

pull/4/head
Michail Vourlakos 6 years ago
parent 32a34d7c47
commit 79ccc37e31

@ -289,11 +289,8 @@ void GlobalShortcuts::activateLauncherMenu()
if (provides.contains(QLatin1String("org.kde.plasma.launchermenu"))) {
if (view->visibility()->isHidden()) {
m_lastInvokedAction = m_singleMetaAction;
m_hideDocks.clear();
m_hideDocks.append(view);
view->visibility()->setBlockHiding(true);
m_hideDocksTimer.start();
//! delay the execution in order to show first the dock
QTimer::singleShot(APPLETEXECUTIONDELAY, [this, view, applet]() {

@ -311,7 +311,7 @@ void VisibilityManager::setIsHidden(bool isHidden)
if (m_isHidden == isHidden)
return;
if (m_blockHiding && m_isHidden) {
if (m_blockHiding && isHidden) {
qWarning() << "isHidden property is blocked, ignoring update";
return;
}

Loading…
Cancel
Save