src/hbwidgets/widgets/hbcombobox.cpp
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
--- a/src/hbwidgets/widgets/hbcombobox.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbwidgets/widgets/hbcombobox.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -133,7 +133,6 @@
     Q_D( HbComboBox );
     d->init( );
     updatePrimitives( );
-    setProperty( "state", "normal" );
     setFlag(QGraphicsItem::ItemSendsScenePositionChanges);
 }
 
@@ -153,7 +152,6 @@
     Q_D( HbComboBox );
     d->init( );
     updatePrimitives( );
-    setProperty( "state", "normal" );
 }
 
 /*!
@@ -679,7 +677,9 @@
 {
     Q_D( HbComboBox ); 
     d->setEditable( editable );
-    setProperty( "state", "normal" );
+    if (!editable ) {
+        setProperty( "state", "normal" );
+    }
 }
 
 /*!
@@ -1021,7 +1021,6 @@
                     {
                         d->mIsDown = false;
                         updatePrimitives( );
-                        setProperty( "state", "normal" );
                         accepted = true;
                         break;
                     }