Skip to content

Commit

Permalink
use get_hide_unselected directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sstendahl committed Jan 17, 2024
1 parent b449d79 commit cad8181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def optimize_limits(self) -> None:
for item_ in self:
if not isinstance(item_, item.DataItem) or (
not item_.get_selected()
and figure_settings.get_property("hide-unselected")):
and figure_settings.get_hide_unselected()):
continue
for index in \
item_.get_xposition() * 2, 1 + item_.get_yposition() * 2:
Expand Down

0 comments on commit cad8181

Please sign in to comment.