aObj->setDisplayed(isVisible);
}
Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY));
+#ifndef WIN32
+ // Necessary for update icons in ObjectBrowser on Linux
+ QModelIndexList aIndexes = mySelector->selection()->selectedIndexes();
+ foreach (QModelIndex aIdx, aIndexes) {
+ if (aIdx.column() == 0) {
+ myObjectBrowser->treeView()->update(aIdx);
+ }
+ }
+#endif
}
//**************************************************************
aObj->setDisplayed(true);
}
Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_TO_REDISPLAY));
+#ifndef WIN32
+ // Necessary for update icons in ObjectBrowser on Linux
+ QModelIndexList aIndexes = mySelector->selection()->selectedIndexes();
+ foreach (QModelIndex aIdx, aIndexes) {
+ if (aIdx.column() == 0) {
+ myObjectBrowser->treeView()->update(aIdx);
+ }
+ }
+#endif
}