chiark / gitweb /
Allow the plugin printer windows to be minimized.
authordaid <daid303@gmail.com>
Tue, 11 Mar 2014 08:06:43 +0000 (09:06 +0100)
committerdaid <daid303@gmail.com>
Tue, 11 Mar 2014 08:06:43 +0000 (09:06 +0100)
Cura/gui/printWindow.py

index e09a9fc017d75c051a6b384a5d6a4cdd162ebf23..dfa2959805e5632e1a6750998d00e19e602b5310 100644 (file)
@@ -30,7 +30,7 @@ else:
 
 class printWindowPlugin(wx.Frame):
        def __init__(self, parent, printerConnection, filename):
-               super(printWindowPlugin, self).__init__(parent, -1, style=wx.CLOSE_BOX|wx.CLIP_CHILDREN|wx.CAPTION|wx.SYSTEM_MENU|wx.FRAME_TOOL_WINDOW|wx.FRAME_FLOAT_ON_PARENT, title=_("Printing on %s") % (printerConnection.getName()))
+               super(printWindowPlugin, self).__init__(parent, -1, style=wx.CLOSE_BOX|wx.CLIP_CHILDREN|wx.CAPTION|wx.SYSTEM_MENU|wx.FRAME_FLOAT_ON_PARENT|wx.MINIMIZE_BOX, title=_("Printing on %s") % (printerConnection.getName()))
                self._printerConnection = printerConnection
                self._basePath = os.path.dirname(filename)
                self._backgroundImage = None