mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
if more than one card, add hint that styling is shared
This commit is contained in:
parent
91d5693bf7
commit
8a7ece9ef9
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue