Skip to content

Commit 807b3d5

Browse files
authored
Merge pull request #8063 from The-OpenROAD-Project-staging/gui-fix-selection-bug
gui: fix flipped logic bug in select -filter (introduced in #7977)
2 parents 4396869 + f16f26a commit 807b3d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/src/gui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ int Gui::select(const std::string& type,
517517
bool is_valid_attribute = false;
518518
Descriptor::Properties properties
519519
= descriptor->getProperties(sel.getObject());
520-
if (filterSelectionProperties(
520+
if (!filterSelectionProperties(
521521
properties, attribute, value, is_valid_attribute)) {
522522
return; // doesn't match the attribute filter
523523
}

0 commit comments

Comments
 (0)