phoneuis/dialer/src/cdialertoolbarcontainer.cpp
branchRCL_3
changeset 15 2a26698d78ba
parent 9 8871b09be73b
child 19 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 );