Fix second bug reported in issue #314; also updated german translation

This commit is contained in:
Oliver Duis
2010-11-12 17:39:43 +01:00
parent 7a59240c50
commit 4cb2245c9a
2 changed files with 36 additions and 27 deletions

View File

@@ -377,11 +377,16 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc) {
beforeAfterToggled();
}
if (iarea->imageArea->mainCropWindow)
// 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)
{
iarea->imageArea->mainCropWindow->cropHandler.newImage(ipc);
iarea->imageArea->mainCropWindow->initialImageArrived();
Gtk::Allocation alloc;
iarea->imageArea->on_resized(alloc);
}
iarea->imageArea->mainCropWindow->cropHandler.newImage(ipc);
iarea->imageArea->mainCropWindow->initialImageArrived();
}
void EditorPanel::close () {