From fab145ce7730cb6b951470dfed54e9511ccbab81 Mon Sep 17 00:00:00 2001 From: michael starke Date: Sat, 8 Jun 2013 11:13:49 +0200 Subject: [PATCH] Fixed wrong background drawing in MPTableView --- MacPass/MPTableView.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MacPass/MPTableView.m b/MacPass/MPTableView.m index 5270947f..bf3d0cfa 100644 --- a/MacPass/MPTableView.m +++ b/MacPass/MPTableView.m @@ -11,7 +11,12 @@ @implementation MPTableView - (void)drawBackgroundInClipRect:(NSRect)clipRect { + /* + We need to clear the outer areas + as calling super will not do that for us + */ + [[NSColor whiteColor] set]; + NSRectFill(clipRect); [super drawBackgroundInClipRect:clipRect]; } - @end