Fixes for dumb GUI mistakes
This commit is contained in:
parent
e3c7665a7c
commit
1d2ee71121
@ -262,12 +262,12 @@ class mainwindow(QtGui.QMainWindow):
|
|||||||
|
|
||||||
if self.ui.check_fgfs.checkState():
|
if self.ui.check_fgfs.checkState():
|
||||||
fghost = "127.0.0.1" #TODO FIXME
|
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))
|
fgout = air_modes.output_flightgear(my_position, fghost, int(fgport))
|
||||||
self.outputs.append(fgout.output)
|
self.outputs.append(fgout.output)
|
||||||
|
|
||||||
if self.ui.check_raw.checkState():
|
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.outputs.append(rawport.output)
|
||||||
self.updates.append(rawport.add_pending_conns)
|
self.updates.append(rawport.add_pending_conns)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user