Apply GUI fix from @mmicko
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
e7fe046e57
commit
1d782870dc
@ -827,7 +827,9 @@ void DesignWidget::onHoverIndexChanged(QModelIndex index)
|
||||
if (index.isValid()) {
|
||||
TreeModel::Item *item = treeModel->nodeFromIndex(index);
|
||||
if (item->type() != ElementType::NONE) {
|
||||
Q_EMIT hover(getDecals(item->type(), item->id()).at(0));
|
||||
std::vector<DecalXY> decals = getDecals(item->type(), item->id());
|
||||
if (decals.size()>0)
|
||||
Q_EMIT hover(decals.at(0));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user