fix for jumping preview in 100%

This commit is contained in:
Jan Rinze
2010-11-18 14:54:46 +01:00
parent cc44ab0ba9
commit a783b340bc

View File

@@ -379,14 +379,14 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc) {
// If in single tab mode, the main crop window is not constructed the very first time
// since there was no resize event
if (!iarea->imageArea->mainCropWindow)
if (iarea->imageArea->mainCropWindow)
{
iarea->imageArea->mainCropWindow->cropHandler.newImage(ipc);
iarea->imageArea->mainCropWindow->initialImageArrived();
} else {
Gtk::Allocation alloc;
iarea->imageArea->on_resized(alloc);
}
iarea->imageArea->mainCropWindow->cropHandler.newImage(ipc);
iarea->imageArea->mainCropWindow->initialImageArrived();
}
void EditorPanel::close () {