summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2013-09-08 20:50:09 +0200
committerGravatar Maximilian Güntner <maximilian.guentner@gmail.com>2013-09-27 18:37:53 +0200
commit3312c9a3a4306a7448c45cd2c1eba3d0cc3503c3 (patch)
treebffe16e8a14160f74a01d8a09a131e8202f83a85
parent59736a9d96ef8ea52243295fe3b07e353c0924c4 (diff)
downloadsubsurface-3312c9a3a4306a7448c45cd2c1eba3d0cc3503c3.tar.gz
implemented zoom action
Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 214e41bf0..8f2f8233d 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -294,7 +294,8 @@ void MainWindow::on_actionAutoGroup_triggered()
void MainWindow::on_actionToggleZoom_triggered()
{
- qDebug("actionToggleZoom");
+ zoomed_plot = !zoomed_plot;
+ ui->ProfileWidget->refresh();
}
void MainWindow::on_actionYearlyStatistics_triggered()