make CropWindow::zoomFitCrop call CropWindow::zoomFit if the image has no crop
This commit is contained in:
@@ -2082,6 +2082,8 @@ void CropWindow::zoomFitCrop ()
|
||||
setCropAnchorPosition(centerX, centerY);
|
||||
changeZoom (cz, true, centerX, centerY);
|
||||
fitZoom = false;
|
||||
} else {
|
||||
zoomFit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1136,7 +1136,7 @@ Gtk::Widget* Preferences::getGeneralPanel ()
|
||||
Gtk::HBox *zoombox = Gtk::manage(new Gtk::HBox());
|
||||
rememberZoomPanCheckbutton = Gtk::manage( new Gtk::CheckButton (M("PREFERENCES_REMEMBERZOOMPAN")) );
|
||||
rememberZoomPanCheckbutton->set_tooltip_text(M("PREFERENCES_REMEMBERZOOMPAN_TOOLTIP"));
|
||||
extendedZoomLevelsCheckbutton = Gtk::manage( new Gtk::CheckButton (M("PREFERENCES_EXTENDEDZOOMLEVELS")) );
|
||||
extendedZoomLevelsCheckbutton = Gtk::manage( new Gtk::CheckButton (M("PREFERENCES_EXTENDEDZOOMLEVELS") + " (" + M("PREFERENCES_APPLNEXTSTARTUP") + ")") );
|
||||
extendedZoomLevelsCheckbutton->set_tooltip_text(M("PREFERENCES_EXTENDEDZOOMLEVELS_TOOLTIP"));
|
||||
zoombox->set_spacing(10);
|
||||
zoombox->pack_start(*rememberZoomPanCheckbutton);
|
||||
|
||||
Reference in New Issue
Block a user