Navigator width and height of image not updated when changing images, fixes #4359

This commit is contained in:
heckflosse 2018-02-04 00:13:12 +01:00
parent 42e9e37ad8
commit 1d037397f1
2 changed files with 2 additions and 1 deletions

View File

@ -1081,6 +1081,7 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc)
}
history->resetSnapShotNumber();
navigator->setInvalid(ipc->getFullWidth(),ipc->getFullHeight());
}
void EditorPanel::close ()

View File

@ -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);