Skip to content

Commit 118f9c1

Browse files
pengfeixxdeepin-bot[bot]
authored andcommitted
fix: Fix taskbar failing to cancel app pinning
Fix taskbar failing to cancel app pinning Log: Fix taskbar failing to cancel app pinning pms: BUG-343145
1 parent 4d94be0 commit 118f9c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

panels/dock/taskmanager/taskmanager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ bool TaskManager::RequestUndock(QString appID)
406406
}
407407
QPointer<AppItem> appitem = desktopfileParser->getAppItem();
408408
if (appitem.isNull()) {
409-
return false;
409+
desktopfileParser->setDocked(false);
410+
return true;
410411
}
411412
appitem->setDocked(false);
412413
return true;

0 commit comments

Comments
 (0)