mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 18:57:14 +01:00
is visible, but not necessarily centered. Otherwise with a wide tab for "Object" (but only some of the tab is visible) the text might not be visible at all.
This commit is contained in:
parent
57a195538b
commit
28a7eeb014
@ -1245,7 +1245,7 @@ void ObjectManipulator::showObjectInTree(ObjectTreeViewItem *otvi)
|
||||
m_objectManipulator->widgetStack->setCurrentWidget(otv);
|
||||
|
||||
otvi->getTree()->clearSelection();
|
||||
otvi->getTree()->scrollToItem(otvi, QAbstractItemView::PositionAtCenter);
|
||||
otvi->getTree()->scrollToItem(otvi);
|
||||
otvi->getTree()->setCurrentItem(otvi);
|
||||
otvi->setSelected(true);
|
||||
otvi->getTree()->setFocus(Qt::OtherFocusReason);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user