We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87885fc commit 9a72e36Copy full SHA for 9a72e36
app.py
@@ -872,13 +872,14 @@ def unhandled_input(self, key):
872
return
873
874
# Workspace is selected
875
- if int(key) - 1 == self.workspaces_line.selected:
+ selected_workspace = int(key)
876
+ if selected_workspace - 1 == self.workspaces_line.selected:
877
- self.workspaces_line.select(int(key))
878
+ self.workspaces_line.select(selected_workspace)
879
880
# Stop rtm to switch workspace
881
self.real_time_task.cancel()
- return self.switch_to_workspace(int(key))
882
+ return self.switch_to_workspace(selected_workspace)
883
elif key == keymap['set_snooze']:
884
return self.open_set_snooze()
885
0 commit comments