[chronojump] Fixed: 637683: Fix void return of server querys



commit 1f26f526162865d1b528d66748735f6e65789053
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Feb 14 13:02:20 2011 +0100

    Fixed: 637683: Fix void return of server querys

 src/gui/queryServer.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/queryServer.cs b/src/gui/queryServer.cs
index c4b4147..090e94a 100644
--- a/src/gui/queryServer.cs
+++ b/src/gui/queryServer.cs
@@ -754,6 +754,9 @@ public class QueryServerWindow
 			return sqlString;
 		} catch {
 			//fix problem on changing continent that updates country and two signals come
+			//also on run (maybe because there's no data)
+			label_results_num.Text = "0";
+			label_results_avg.Text = "-";
 			return "";
 		}
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]