[haiku-commits] r40863 - haiku/trunk/src/apps/deskcalc

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 8 Mar 2011 00:33:08 +0100 (CET)

Author: stpere
Date: 2011-03-08 00:33:08 +0100 (Tue, 08 Mar 2011)
New Revision: 40863
Changeset: http://dev.haiku-os.org/changeset/40863
Ticket: http://dev.haiku-os.org/ticket/7010

Modified:
   haiku/trunk/src/apps/deskcalc/CalcView.cpp
Log:
DeskCalc:

Invalidate the CalcView after changing the Show Keypad option, to force to 
redraw the keypad.

Fixes ticket #7010.


Modified: haiku/trunk/src/apps/deskcalc/CalcView.cpp
===================================================================
--- haiku/trunk/src/apps/deskcalc/CalcView.cpp  2011-03-07 23:01:45 UTC (rev 
40862)
+++ haiku/trunk/src/apps/deskcalc/CalcView.cpp  2011-03-07 23:33:08 UTC (rev 
40863)
@@ -1173,6 +1173,7 @@
                        window->ResizeTo(fWidth, height);
                } else
                        ResizeTo(fWidth, height);
+               Invalidate();
        }
 }
 


Other related posts:

  • » [haiku-commits] r40863 - haiku/trunk/src/apps/deskcalc - stpere