phoneuis/dialer/src/cdialertoolbarcontainer.cpp
branchRCL_3
changeset 5 2a26698d78ba
parent 3 8871b09be73b
child 7 544e34b3255a
--- a/phoneuis/dialer/src/cdialertoolbarcontainer.cpp	Fri Mar 12 15:42:40 2010 +0200
+++ b/phoneuis/dialer/src/cdialertoolbarcontainer.cpp	Mon Mar 15 12:40:24 2010 +0200
@@ -225,7 +225,12 @@
         // Revert this change as we do not want to use states
         // for "toggle button" type of functionality but to give one button
         // different functions depending on the situation.
+        // Must initiate button redraw so that the state change done here 
+        // is drawn too; the automatically changed state is drawn within 
+        // AknButton just before EEventStateChanged is reported 
+        // (in emulator button icon flashing can be seen).
         UpdateButtonStates();
+        aControl->DrawNow();
 
         // Handle the command attached to the button
         CAknButton* button = static_cast<CAknButton*>( aControl );