From 2149c2ade23bf15b00df99ca86def01ac991eb75 Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Mon, 20 Dec 2010 20:27:12 +0100 Subject: [PATCH] Fixed an occasional crash at startup; see bug forum thread #2532 --- rtgui/rtwindow.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtgui/rtwindow.cc b/rtgui/rtwindow.cc index 00cb72a4e..34e671d2e 100644 --- a/rtgui/rtwindow.cc +++ b/rtgui/rtwindow.cc @@ -1,6 +1,7 @@ /* * This file is part of RawTherapee. * + * Copyright (c) 2004-2010 Gabor Horvath , Oliver Duis * * RawTherapee is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +24,8 @@ RTWindow::RTWindow () { + epanel=NULL; // to prevent eventing errors + cacheMgr->init (); #ifdef GLIBMM_EXCEPTIONS_ENABLED