Author: tgoettlicher
Date: Wed Feb 9 16:07:04 2011
New Revision: 63391
URL: http://svn.opensuse.org/viewcvs/yast?rev=63391&view=rev
Log:
fixed segfault when calling currentItem()
Modified:
trunk/ycp-ui-bindings/src/YCPPropertyHandler.cc
Modified: trunk/ycp-ui-bindings/src/YCPPropertyHandler.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/src/YCPPropertyHandler.cc?rev=63391&r1=63390&r2=63391&view=diff
==============================================================================
--- trunk/ycp-ui-bindings/src/YCPPropertyHandler.cc (original)
+++ trunk/ycp-ui-bindings/src/YCPPropertyHandler.cc Wed Feb 9 16:07:04 2011
@@ -1268,16 +1268,10 @@
return YCPNull();
YItem * currentItem = tree->currentItem();
+ YCPTreeItem * item = dynamic_cast