1.1 --- a/src/VigraQt/qimageviewer.cxx Thu Aug 04 17:10:53 2011 +0200
1.2 +++ b/src/VigraQt/qimageviewer.cxx Thu Aug 04 17:11:38 2011 +0200
1.3 @@ -321,8 +321,8 @@
1.4 int newHeight = zoom(originalHeight(), level);
1.5
1.6 // TODO: should this move to the client/keyboard handling code?
1.7 - if((newWidth < 16 && newHeight < 16) ||
1.8 - newWidth < 2 || newHeight < 2)
1.9 + if(level < 0 && ((newWidth < 16 && newHeight < 16) ||
1.10 + newWidth < 2 || newHeight < 2))
1.11 return;
1.12
1.13 zoomLevel_ = level;