[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/formeditor (silent)
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-07-07 10:26:32
Message-ID: 1152267992.749946.26975.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 559429 by staniek:

SVN_SILENT fix possible crash


 M  +1 -1      formmanager.cpp  


--- trunk/koffice/kexi/formeditor/formmanager.cpp #559428:559429
@@ -1513,7 +1513,7 @@
 	enableAction("layout_hsplitter", twoSelected);
 	enableAction("layout_vsplitter", twoSelected);
 
-	KFormDesigner::Container *container = activeForm()->activeContainer();
+	KFormDesigner::Container *container = activeForm() ? activeForm()->activeContainer() : 0;
 	if (container)
 		enableAction("break_layout", (container->layoutType() != KFormDesigner::Container::NoLayout));
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic