diff --git a/ankiqt/ui/deckproperties.py b/ankiqt/ui/deckproperties.py index 778f0ac68..717e13c4e 100644 --- a/ankiqt/ui/deckproperties.py +++ b/ankiqt/ui/deckproperties.py @@ -12,10 +12,9 @@ from anki.deck import newCardOrderLabels, newCardSchedulingLabels from anki.deck import revCardOrderLabels from anki.utils import hexifyID, dehexifyID -tabs = ("Synchronization", - "Scheduling", +tabs = ("Scheduling", + "Synchronization", "Models", - "Description", "Advanced") class DeckProperties(QDialog): @@ -44,8 +43,6 @@ class DeckProperties(QDialog): self.show() def readData(self): - # description - self.dialog.deckDescription.setText(self.d.description) # syncing sn = self.d.syncName if sn: @@ -208,9 +205,6 @@ class DeckProperties(QDialog): def reject(self): n = _("Deck Properties") self.parent.deck.setUndoStart(n) - # description - self.updateField(self.d, 'description', - unicode(self.dialog.deckDescription.toPlainText())) # syncing if self.dialog.doSync.checkState() == Qt.Checked: self.updateField(self.d, 'syncName', diff --git a/designer/deckproperties.ui b/designer/deckproperties.ui index e46d58aff..08778b221 100644 --- a/designer/deckproperties.ui +++ b/designer/deckproperties.ui @@ -413,51 +413,6 @@ p, li { white-space: pre-wrap; } - - - - 0 - 0 - 378 - 334 - - - - Description - - - - 6 - - - 6 - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:xx-large; font-weight:600;"><span style=" font-size:xx-large;">Deck Description</span></p></body></html> - - - - - - - - 0 - 100 - - - - true - - - - - @@ -770,7 +725,6 @@ p, li { white-space: pre-wrap; } modelsAdd modelsEdit modelsDelete - deckDescription delay0 delay1 delay2