From 004500a5d7085cf8ef4775371241bb522d080537 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 18 Jul 2012 17:11:19 -0700 Subject: [PATCH] Layout and porting the SQL fix over from master. --- python/sql.py | 1 + res/modes_rx.ui | 255 ++++++++++++++++++++++++------------------------ 2 files changed, 128 insertions(+), 128 deletions(-) diff --git a/python/sql.py b/python/sql.py index 94d3a67..765c626 100644 --- a/python/sql.py +++ b/python/sql.py @@ -55,6 +55,7 @@ class output_sql(air_modes.parse): );""" c.execute(query) c.close() + self.db.commit() #we close the db conn now to reopen it in the output() thread context. self.db.close() self.db = None diff --git a/res/modes_rx.ui b/res/modes_rx.ui index 161b3e9..b54b2d5 100644 --- a/res/modes_rx.ui +++ b/res/modes_rx.ui @@ -7,7 +7,7 @@ 0 0 686 - 449 + 418 @@ -35,8 +35,8 @@ 10 20 - 221 - 191 + 236 + 193 @@ -45,8 +45,8 @@ - 10 - 60 + 11 + 66 66 17 @@ -58,8 +58,8 @@ - 10 - 30 + 11 + 36 66 17 @@ -82,7 +82,7 @@ 10 - 90 + 95 66 17 @@ -114,8 +114,8 @@ - 160 - 90 + 164 + 96 31 17 @@ -127,8 +127,8 @@ - 180 - 60 + 184 + 66 41 17 @@ -140,8 +140,8 @@ - 0 - 120 + -1 + 117 221 71 @@ -214,8 +214,8 @@ - 90 - 10 + 91 + 2 113 27 @@ -224,8 +224,8 @@ - 10 - 10 + 11 + 7 66 17 @@ -234,6 +234,10 @@ Filename + line_inputfile + label_13 + combo_rate + label_27 @@ -252,8 +256,8 @@ - 10 - 120 + 19 + 124 61 22 @@ -262,37 +266,11 @@ KML - - - - 130 - 30 - 31 - 17 - - - - Port - - - - - - 130 - 60 - 31 - 17 - - - - Port - - - 10 - 30 + 19 + 34 71 22 @@ -301,24 +279,11 @@ SBS-1 - - - - 130 - 90 - 31 - 17 - - - - Port - - - 10 - 60 + 19 + 64 61 22 @@ -367,24 +332,11 @@ - - - - 100 - 120 - 66 - 17 - - - - Filename - - - 10 - 90 + 19 + 94 101 22 @@ -393,6 +345,58 @@ FlightGear + + + + 128 + 66 + 31 + 17 + + + + Port + + + + + + 128 + 96 + 31 + 17 + + + + Port + + + + + + 128 + 36 + 31 + 17 + + + + Port + + + + + + 98 + 126 + 66 + 17 + + + + Filename + + @@ -412,8 +416,8 @@ - 20 - 60 + 16 + 64 71 20 @@ -445,8 +449,8 @@ - 30 - 40 + 28 + 34 61 20 @@ -464,10 +468,10 @@ - 190 - 30 + 193 + 35 21 - 17 + 18 @@ -477,8 +481,8 @@ - 480 - 60 + 483 + 66 21 17 @@ -490,8 +494,8 @@ - 480 - 90 + 483 + 96 21 17 @@ -545,8 +549,8 @@ - 10 - 240 + 17 + 243 101 17 @@ -558,7 +562,7 @@ - 130 + 120 10 61 20 @@ -571,8 +575,8 @@ - 360 - 60 + 365 + 64 51 20 @@ -584,8 +588,8 @@ - 350 - 90 + 352 + 93 61 20 @@ -598,7 +602,7 @@ 370 - 150 + 154 51 20 @@ -675,8 +679,8 @@ - 370 - 180 + 373 + 184 51 20 @@ -714,8 +718,8 @@ - 50 - 180 + 62 + 183 61 21 @@ -727,8 +731,8 @@ - 40 - 210 + 50 + 213 71 21 @@ -753,8 +757,8 @@ - 480 - 120 + 483 + 125 31 17 @@ -766,8 +770,8 @@ - 370 - 120 + 368 + 123 41 20 @@ -795,8 +799,8 @@ - 370 - 30 + 372 + 34 51 20 @@ -862,8 +866,8 @@ - 10 - 39 + 19 + 36 101 17 @@ -886,10 +890,13 @@ + + false + - 10 - 340 + 4 + 344 271 22 @@ -901,10 +908,10 @@ - 15 - 60 + 18 + 59 101 - 271 + 272 @@ -920,8 +927,8 @@ - 630 - 370 + 520 + 341 41 27 @@ -930,8 +937,8 @@ - 515 - 370 + 407 + 345 111 20 @@ -940,14 +947,6 @@ Reports/second - tab_dataview - label_14 - button_start - check_adsbonly - list_aircraft - lineEdit - line_reports - label_33