Skip to content

Commit

Permalink
Enhance prompt on telnet
Browse files Browse the repository at this point in the history
  • Loading branch information
remibert committed May 22, 2022
1 parent 3adea66 commit 6a179bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/camflasher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,10 @@ def on_tabs_link_changed(self):
""" The links tab has changed """
settings = get_settings()
settings.setValue(TYPE_LINK,self.window.tabs_link.currentIndex())
if self.window.tabs_link.currentIndex() == 1 and self.current_state == self.flasher.DISCONNECTED:
self.window.combo_telnet_host.setFocus()
else:
self.window.output.setFocus()

def on_upload_server(self):
""" On menu upload server clicked """
Expand Down

0 comments on commit 6a179bd

Please sign in to comment.