Commit 1340bd2f authored by Guillaume Seguin's avatar Guillaume Seguin

Fix #590

parent 92cc0845
...@@ -289,6 +289,8 @@ class Plater(wx.Frame): ...@@ -289,6 +289,8 @@ class Plater(wx.Frame):
self.destroy_on_done = True self.destroy_on_done = True
parent = kwargs.get("parent", None) parent = kwargs.get("parent", None)
size = kwargs.get("size", (800, 580)) size = kwargs.get("size", (800, 580))
if "size" in kwargs:
del kwargs["size"]
wx.Frame.__init__(self, parent, title = _("Plate building tool"), size = size) wx.Frame.__init__(self, parent, title = _("Plate building tool"), size = size)
self.SetIcon(wx.Icon(iconfile("plater.png"), wx.BITMAP_TYPE_PNG)) self.SetIcon(wx.Icon(iconfile("plater.png"), wx.BITMAP_TYPE_PNG))
self.prepare_ui(**kwargs) self.prepare_ui(**kwargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment