File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,6 @@ int Gui::select(const std::string& type,
504504 if (
505505#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
506506 !reg_filter.match (QString::fromStdString (sel_name)).hasMatch ()
507-
508507#else
509508 !reg_filter.exactMatch (QString::fromStdString (sel_name))
510509#endif
@@ -516,7 +515,8 @@ int Gui::select(const std::string& type,
516515
517516 if (!attribute.empty ()) {
518517 bool is_valid_attribute = false ;
519- Descriptor::Properties properties = descriptor->getProperties (sel);
518+ Descriptor::Properties properties
519+ = descriptor->getProperties (sel.getObject ());
520520 if (filterSelectionProperties (
521521 properties, attribute, value, is_valid_attribute)) {
522522 return ; // doesn't match the attribute filter
You can’t perform that action at this time.
0 commit comments