Skip to content

Commit

Permalink
Merge pull request #532 from TheDeanLab/531-lambda-callback-issue-on-…
Browse files Browse the repository at this point in the history
…control-+-leftrightmiddle-mouse-click

Fix Ctrl + Mouse bindings
  • Loading branch information
AdvancedImagingUTSW authored Jul 21, 2023
2 parents dd9ea21 + 41da86e commit 845c19a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/aslm/controller/sub_controllers/menu_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,31 +327,31 @@ def initialize_menus(self):
self.view.menubar.menu_window: {
"Channel Settings": [
"standard",
lambda: self.switch_tabs(1),
lambda event: self.switch_tabs(1),
"Ctrl+1",
"<Control-1>",
"<Control_L-1",
"<Control-Key-1>",
"<Control_L-Key-1",
],
"Camera Settings": [
"standard",
lambda: self.switch_tabs(2),
lambda event: self.switch_tabs(2),
"Ctrl+2",
"<Control-2>",
"<Control_L-2",
"<Control-Key-2>",
"<Control_L-Key-2",
],
"Stage Control": [
"standard",
lambda: self.switch_tabs(2),
lambda event: self.switch_tabs(2),
"Ctrl+3",
"<Control-3>",
"<Control_L-3",
"<Control-Key-3>",
"<Control_L-Key-3",
],
"Multiposition Table": [
"standard",
lambda: self.switch_tabs(4),
lambda event: self.switch_tabs(4),
"Ctrl+4",
"<Control-4>",
"<Control_L-4",
"<Control-Key-4>",
"<Control_L-Key-4",
],
"add_separator": ["standard", None, None, None, None],
"Popout Camera Display": [
Expand Down

0 comments on commit 845c19a

Please sign in to comment.