From 13b4be3fb29d2ae93b8e1901c049123db591c3a6 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Mon, 7 Mar 2011 23:33:08 +0000 Subject: [PATCH] DeskCalc: Invalidate the CalcView after changing the Show Keypad option, to force to redraw the keypad. Fixes ticket #7010. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40863 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/deskcalc/CalcView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index 837a955fc3..034e5132a2 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -1173,6 +1173,7 @@ CalcView::_ShowKeypad(bool show) window->ResizeTo(fWidth, height); } else ResizeTo(fWidth, height); + Invalidate(); } }