Skip to content

Commit

Permalink
Do not set empty pixmap for drag (#9873)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Dec 7, 2022
1 parent ec18613 commit e4dff28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp
Expand Up @@ -1791,7 +1791,7 @@ void LibraryTreeModel::loadLibraryTreeItemPixmap(LibraryTreeItem *pLibraryTreeIt
pLibraryTreeItem->setDragPixmap(dragPixmap);
} else {
pLibraryTreeItem->setPixmap(QPixmap());
pLibraryTreeItem->setDragPixmap(QPixmap());
pLibraryTreeItem->setDragPixmap(pLibraryTreeItem->getLibraryTreeItemIcon().pixmap(QSize(50, 50)));
}
}

Expand Down

0 comments on commit e4dff28

Please sign in to comment.