Navigator width and height of image not updated when changing images, fixes #4359
This commit is contained in:
parent
42e9e37ad8
commit
1d037397f1
@ -1081,6 +1081,7 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
history->resetSnapShotNumber();
|
history->resetSnapShotNumber();
|
||||||
|
navigator->setInvalid(ipc->getFullWidth(),ipc->getFullHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPanel::close ()
|
void EditorPanel::close ()
|
||||||
|
@ -46,7 +46,6 @@ protected:
|
|||||||
Gtk::Label *lH, *lS, *lV;
|
Gtk::Label *lH, *lS, *lV;
|
||||||
Gtk::Label *lLAB_A, *lLAB_B, *lLAB_L;
|
Gtk::Label *lLAB_A, *lLAB_B, *lLAB_L;
|
||||||
|
|
||||||
void setInvalid (int fullWidth = -1, int fullHeight = -1);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PreviewWindow* previewWindow;
|
PreviewWindow* previewWindow;
|
||||||
@ -56,6 +55,7 @@ public:
|
|||||||
// pointermotionlistener interface
|
// pointermotionlistener interface
|
||||||
// void pointerMoved (bool validPos, int x, int y, int r, int g, int b);
|
// 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 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 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);
|
void getHSVText (float h, float s, float v, Glib::ustring &sH, Glib::ustring &sS, Glib::ustring &sV);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user