X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=share%2Fextensions%2Fprinting-marks.py;h=041025708bfd8dbdcd94eb9f42b59041f85ada1a;hb=b2c34054d4473274a1ff38ef270ad461fd75ba8a;hp=775f6b6431f39e1efae7f2739f9ff95511bb9bc1;hpb=ab7cfa2aa956a47c52fddd5f89235114ed958ce4;p=inkscape.git diff --git a/share/extensions/printing-marks.py b/share/extensions/printing-marks.py index 775f6b643..041025708 100644 --- a/share/extensions/printing-marks.py +++ b/share/extensions/printing-marks.py @@ -36,9 +36,6 @@ class Printing_Marks (inkex.Effect): def __init__(self): inkex.Effect.__init__(self) - self.OptionParser.add_option("--tab", - action="store", type="string", - dest="tab") self.OptionParser.add_option("--where", action="store", type="string", dest="where_to_crop", default=True, @@ -91,7 +88,10 @@ class Printing_Marks (inkex.Effect): action="store", type="float", dest="bleed_right", default=0, help="Bleed Right Size") - + self.OptionParser.add_option("--tab", + action="store", type="string", + dest="tab", + help="The selected UI-tab when OK was pressed") def draw_crop_line(self, x1, y1, x2, y2, name, parent): style = { 'stroke': '#000000', 'stroke-width': str(self.stroke_width),