diff options
Diffstat (limited to 'client/mainwindow.cpp')
-rw-r--r-- | client/mainwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp index dcffed6..6f2337d 100644 --- a/client/mainwindow.cpp +++ b/client/mainwindow.cpp @@ -25,6 +25,12 @@ MainWindow::~MainWindow() void MainWindow::timeFunction() { client.timeFunction(); + if(client.refreshChart==true){ + drawGraph(); + client.refreshChart=false; + } + + } void MainWindow::on_actionConnection_triggered() @@ -35,7 +41,7 @@ void MainWindow::on_actionConnection_triggered() void MainWindow::on_actionRefresh_triggered() { - drawGraph(); + // drawGraph(); } void MainWindow::on_actionDisconnenct_triggered() |