From 979bdf583b09587157407873473be646a4774b02 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 20 Mar 2014 17:42:20 +0200 Subject: [PATCH] Add info to status bar to show port and baud rate --- colourterm/mainwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/colourterm/mainwindow.py b/colourterm/mainwindow.py index 6c353a7..2224c4f 100644 --- a/colourterm/mainwindow.py +++ b/colourterm/mainwindow.py @@ -261,6 +261,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