don't draw duplicate labels when generating only labels

This commit is contained in:
sumpfork 2014-01-31 10:41:59 -08:00
parent b7baf57eb1
commit 0347a9fe0d

View File

@ -579,7 +579,7 @@ class DominionTabs:
for pageCards in cards: for pageCards in cards:
#remember whether we start with odd or even divider for tab location #remember whether we start with odd or even divider for tab location
pageStartOdd = self.odd pageStartOdd = self.odd
if self.options.order != "global": if not self.options.tabs_only and self.options.order != "global":
self.drawSetNames(pageCards) self.drawSetNames(pageCards)
for i,card in enumerate(pageCards): for i,card in enumerate(pageCards):
#print card #print card
@ -590,6 +590,9 @@ class DominionTabs:
self.canvas.restoreState() self.canvas.restoreState()
self.odd = not self.odd self.odd = not self.odd
self.canvas.showPage() self.canvas.showPage()
if self.options.tabs_only:
#no set names or card backs for label-only sheets
continue
if self.options.order != "global": if self.options.order != "global":
self.drawSetNames(pageCards) self.drawSetNames(pageCards)
#start at same oddness #start at same oddness