image_window: Disable more buttons on error pages

Closes #436
This commit is contained in:
Sophie Herold 2025-01-29 18:04:07 +01:00
parent 8a6e4ebb88
commit c9e7f052e1
3 changed files with 17 additions and 6 deletions

View file

@ -891,6 +891,10 @@ impl LpImageView {
self.imp().zoom_menu_button.clone()
}
pub fn zoom_toggle(&self) -> gtk::ToggleButton {
self.imp().zoom_toggle.clone()
}
pub fn zoom_value_f64(&self) -> Option<f64> {
let mut value = self.imp().zoom_value.text().to_string();
let locale_settings = util::locale_settings();