Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
fixed additional blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoneiESS committed Oct 30, 2023
1 parent b5632be commit 39c918b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus_constructor/add_component_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def __init__(
self._handle_class_change
)
self.cancel_button.clicked.connect(self._cancel_new_group)
# self.rejected.connect(self._rejected)
else:
self.cancel_button.setVisible(True)
self.cancel_button.clicked.connect(self._cancel_edit_group)
Expand All @@ -133,6 +132,7 @@ def _confirm_cancel(self) -> bool:

def _cancel_new_group(self):
if self._confirm_cancel():
self._rejected()
group, _ = self.component_model.current_nxs_obj
if isinstance(group, Group):
self._refresh_tree(group)
Expand Down

0 comments on commit 39c918b

Please sign in to comment.