mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-03-09 12:31:01 +00:00
Apply GUI fix from @mmicko
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user