mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: identify launcher icon.
Change-Id: I2126addf235c127712ce8d0f117954c8ac9910fc
This commit is contained in:
parent
0bf5934c6a
commit
a6b87571c6
Notes:
gerrit
2018-05-21 10:13:15 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: sbwtw <sbw@sbw.so> Submitted-by: rekols <rekols@foxmail.com> Submitted-at: Mon, 21 May 2018 10:13:15 +0800 Reviewed-on: https://cr.deepin.io/34840 Project: dde/dde-dock Branch: refs/heads/master
@ -92,7 +92,7 @@ void DockItemController::itemMove(DockItem * const moveItem, DockItem * const re
|
||||
const DockItem::ItemType replaceType = replaceItem->itemType();
|
||||
|
||||
// app move
|
||||
if (moveType == DockItem::App)
|
||||
if (moveType == DockItem::App || moveType == DockItem::Placeholder)
|
||||
if (replaceType != DockItem::App && replaceType != DockItem::Stretch)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user