From c45bf96701b00181c7332d0c8c7fd8350846e975 Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Wed, 13 Mar 2013 21:19:38 +0100 Subject: [PATCH] Set the minimum zoom level from 0.7 to 0.1 --- mainwindow.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cc b/mainwindow.cc index 53ec7e71..08c14be7 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -2954,11 +2954,11 @@ void MainWindow::applyZoomFactor() { if ( cfg.preferences.zoomFactor >= 5 ) cfg.preferences.zoomFactor = 5; - else if ( cfg.preferences.zoomFactor <= 0.7 ) - cfg.preferences.zoomFactor = 0.7; + else if ( cfg.preferences.zoomFactor <= 0.1 ) + cfg.preferences.zoomFactor = 0.1; zoomIn->setEnabled( cfg.preferences.zoomFactor < 5 ); - zoomOut->setEnabled( cfg.preferences.zoomFactor > 0.7 ); + zoomOut->setEnabled( cfg.preferences.zoomFactor > 0.1 ); zoomBase->setEnabled( cfg.preferences.zoomFactor != 1.0 ); for ( int i = 0; i < ui.tabWidget->count(); i++ )