We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c99b6a2 commit 872c317Copy full SHA for 872c317
1 file changed
src/DataFlowGraphicsScene.cpp
@@ -143,7 +143,7 @@ createSceneMenu(QPointF const scenePos)
143
QTreeWidgetItemIterator it(treeView, QTreeWidgetItemIterator::NoChildren);
144
while (*it)
145
{
146
- auto modelName = (*it)->data(0, Qt::UserRole).toString();
+ auto modelName = (*it)->text(0);
147
const bool match = (modelName.contains(text, Qt::CaseInsensitive));
148
(*it)->setHidden(!match);
149
0 commit comments