Add info to status bar to show port and baud rate
This commit is contained in:
parent
5a06899fd3
commit
979bdf583b
@ -261,6 +261,7 @@ class MainWindow(QtGui.QMainWindow, UiMainWindow):
|
|||||||
self.send_button.setEnabled(not self.device_closed)
|
self.send_button.setEnabled(not self.device_closed)
|
||||||
if self.send_combobox.isEnabled():
|
if self.send_combobox.isEnabled():
|
||||||
self.send_combobox.setFocus()
|
self.send_combobox.setFocus()
|
||||||
|
self.status_bar.showMessage('Connected to %s at %s baud' % (self.device.port, self.device.baudrate))
|
||||||
|
|
||||||
def on_close_action_triggered(self):
|
def on_close_action_triggered(self):
|
||||||
self.device_closed = True
|
self.device_closed = True
|
||||||
|
Loading…
Reference in New Issue
Block a user