Skip to content

Commit

Permalink
fixed #2229
Browse files Browse the repository at this point in the history
  • Loading branch information
thumDer committed May 2, 2024
1 parent 5c12574 commit 3fa0bf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyrevitlib/pyrevit/forms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,9 @@ def handle_input_key(self, sender, args):
elif args.Key == Input.Key.Enter:
active_button = self._get_active_button()
if active_button:
if isinstance(active_button,
framework.Controls.Primitives.ToggleButton):
return
self.process_option(active_button, None)
args.Handled = True
elif args.Key != Input.Key.Tab \
Expand Down

0 comments on commit 3fa0bf4

Please sign in to comment.