diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index 21753bcf5..7f5869a95 100644 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -1081,6 +1081,7 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc) } history->resetSnapShotNumber(); + navigator->setInvalid(ipc->getFullWidth(),ipc->getFullHeight()); } void EditorPanel::close () diff --git a/rtgui/navigator.h b/rtgui/navigator.h index 647df7a34..e6ca33559 100644 --- a/rtgui/navigator.h +++ b/rtgui/navigator.h @@ -46,7 +46,6 @@ protected: Gtk::Label *lH, *lS, *lV; Gtk::Label *lLAB_A, *lLAB_B, *lLAB_L; - void setInvalid (int fullWidth = -1, int fullHeight = -1); public: PreviewWindow* previewWindow; @@ -56,6 +55,7 @@ public: // pointermotionlistener interface // void pointerMoved (bool validPos, int x, int y, int r, int g, int b); void pointerMoved (bool validPos, Glib::ustring profile, Glib::ustring profileW, int x, int y, int r, int g, int b); + void setInvalid (int fullWidth = -1, int fullHeight = -1); void getRGBText (int r, int g, int b, Glib::ustring &sR, Glib::ustring &sG, Glib::ustring &sB); void getHSVText (float h, float s, float v, Glib::ustring &sH, Glib::ustring &sS, Glib::ustring &sV);