From 22134a5fb8f8ab869bacf622d571be0a51bea985 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 15 Jan 2011 20:19:37 +0900 Subject: [PATCH] don't use buggy osx colour dialog --- ankiqt/ui/clayout.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/clayout.py b/ankiqt/ui/clayout.py index 2d1a622bc..20db505c4 100644 --- a/ankiqt/ui/clayout.py +++ b/ankiqt/ui/clayout.py @@ -259,7 +259,9 @@ order by n""", id=card.id) self.renderPreview() def chooseColour(self, button, type="field"): - new = QColorDialog.getColor(button.palette().window().color(), self) + new = QColorDialog.getColor(button.palette().window().color(), self, + _("Choose Color"), + QColorDialog.DontUseNativeDialog) if new.isValid(): button.setPalette(QPalette(new)) if type == "field":