src/hbwidgets/widgets/hbpushbutton.cpp
changeset 5 627c4a0fd0e7
parent 3 11d3954df52a
child 6 c3690ec91ef8
--- a/src/hbwidgets/widgets/hbpushbutton.cpp	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbwidgets/widgets/hbpushbutton.cpp	Fri Jun 11 13:58:22 2010 +0300
@@ -453,6 +453,9 @@
             HbStyleOptionPushButton buttonOption;
             initStyleOption( &buttonOption );
             style()->updatePrimitive( d->iconItem, HbStyle::P_PushButton_icon, &buttonOption );
+            if ( isEnabled() ) {
+                setProperty("state", "normal");
+            } 
 
         }
         if( doPolish ) {