From c45c76e658209408333fcef7edeb7078d26842fa Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Tue, 8 Mar 2011 01:50:25 +0000 Subject: [PATCH] DeskCalc Move the Invalidate() call introduced in r40863. It is now in FrameResized(). This now seems to fix #7010 for good. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40864 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/deskcalc/CalcView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index 034e5132a2..81e0772dfd 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -679,6 +679,7 @@ CalcView::FrameResized(float width, float height) float inset = (frame.Height() - fExpressionTextView->LineHeight(0)) / 2; frame.InsetBy(inset, inset); fExpressionTextView->SetTextRect(frame); + Invalidate(); } @@ -1173,7 +1174,6 @@ CalcView::_ShowKeypad(bool show) window->ResizeTo(fWidth, height); } else ResizeTo(fWidth, height); - Invalidate(); } }