diff --git a/MacPass/MPPluginTabelCellView.m b/MacPass/MPPluginTabelCellView.m index e0e4e000..1f1f53c6 100644 --- a/MacPass/MPPluginTabelCellView.m +++ b/MacPass/MPPluginTabelCellView.m @@ -26,7 +26,16 @@ - (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle { super.backgroundStyle = backgroundStyle; - self.addionalTextField.cell.backgroundStyle = backgroundStyle; + switch(backgroundStyle) { + case NSBackgroundStyleNormal: + case NSBackgroundStyleLowered: + self.addionalTextField.textColor = NSColor.disabledControlTextColor; + break; + case NSBackgroundStyleRaised: + case NSBackgroundStyleEmphasized: + self.addionalTextField.textColor = NSColor.selectedControlTextColor; + break; + } } @end