Skip to content

Commit 2bbf740

Browse files
committed
Update changelog and base plot logic to enhance edit tool functionality
1 parent 945b45f commit 2bbf740

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
* This signal is emitted when the parameters of an item are changed using the parameters dialog, or a specific tool (e.g. the colormap selection tool, or the lock/unlock tool for image items)
2626
* The signal is emitted with the item as argument
2727
* The `ItemListWidget` now listens to this signal and refreshes the item list accordingly
28-
* Edit tools (Edit data, parameters, etc.):
28+
* Edit tools (Edit data, center image position):
2929
* Exclude read-only items from the list of editable items
30-
* It is no longer possible to edit parameters or data of read-only items
30+
* It is no longer possible to use those tools on read-only items
3131

3232
Other changes:
3333

plotpy/plot/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,8 +1812,7 @@ def get_plot_parameters_status(self, key: str) -> bool:
18121812
bool: True if the plot parameters are available
18131813
"""
18141814
if key == "item":
1815-
item = self.get_active_item()
1816-
return item is not None and not item.is_readonly()
1815+
return self.get_active_item() is not None
18171816
else:
18181817
return True
18191818

0 commit comments

Comments
 (0)