From 1d2ee71121be8bd23e59f936d1da0d1233b24abf Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 18 Jul 2012 18:49:13 -0700 Subject: [PATCH] Fixes for dumb GUI mistakes --- apps/modes_gui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/modes_gui b/apps/modes_gui index 19f83b1..5cbd127 100755 --- a/apps/modes_gui +++ b/apps/modes_gui @@ -262,12 +262,12 @@ class mainwindow(QtGui.QMainWindow): if self.ui.check_fgfs.checkState(): fghost = "127.0.0.1" #TODO FIXME - fgport = self.ui.line_fgfsport.currentText() + fgport = self.ui.line_fgfsport.text() fgout = air_modes.output_flightgear(my_position, fghost, int(fgport)) self.outputs.append(fgout.output) if self.ui.check_raw.checkState(): - rawport = air_modes.raw_server(int(self.ui.line_raw.text())) + rawport = air_modes.raw_server(int(self.ui.line_rawport.text())) self.outputs.append(rawport.output) self.updates.append(rawport.add_pending_conns)