Skip to content

Commit 12a6309

Browse files
committed
Update GetObjectDialog to use object_only parameter in get_current_item_id method
1 parent d9073ab commit 12a6309

File tree

3 files changed

+494
-479
lines changed

3 files changed

+494
-479
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ This release requires PlotPy v2.4.0 or later, which brings the following bug fix
4242

4343
* Progress bar is now automatically closed as expected when an error occurrs during a long operation (e.g. when opening a file)
4444

45+
* Difference, division, ...: dialog box for the second operand selection was allowing to select a group (only a signal or an image should be selected)
46+
4547
## DataLab Version 0.16.1 ##
4648

4749
Since version 0.16.0, many validation functions have been added to the test suite.

cdl/core/gui/objectview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def __init__(
286286

287287
def __current_object_changed(self) -> None:
288288
"""Item selection has changed"""
289-
self.__current_object_uuid = self.tree.get_current_item_id()
289+
self.__current_object_uuid = self.tree.get_current_item_id(object_only=True)
290290
self.ok_btn.setEnabled(bool(self.__current_object_uuid))
291291

292292
def get_current_object_uuid(self) -> str:

0 commit comments

Comments
 (0)