From 8a7ece9ef91bbc610608dd3a79241730769a00ca Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 1 Jun 2012 08:58:55 +0900 Subject: [PATCH] if more than one card, add hint that styling is shared --- aqt/clayout.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aqt/clayout.py b/aqt/clayout.py index f341bde81..db177a7af 100644 --- a/aqt/clayout.py +++ b/aqt/clayout.py @@ -92,6 +92,9 @@ class CardLayout(QDialog): tform.tlayout1.setContentsMargins(0, 11, 0, 0) tform.tlayout2.setContentsMargins(0, 11, 0, 0) tform.tlayout3.setContentsMargins(0, 11, 0, 0) + if len(self.cards) > 1: + tform.groupBox_3.setTitle(_( + "Styling (shared between cards)")) c(tform.front, SIGNAL("textChanged()"), self.saveCard) c(tform.css, SIGNAL("textChanged()"), self.saveCard) c(tform.back, SIGNAL("textChanged()"), self.saveCard)