Add info to status bar to show port and baud rate

This commit is contained in:
Raoul Snyman 2014-03-20 17:44:20 +02:00
commit f17d548b0b
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ class MainWindow(QtGui.QMainWindow, UiMainWindow):
self.send_button.setEnabled(not self.device_closed)
if self.send_combobox.isEnabled():
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):
self.device_closed = True