Commit c93ecbf9 authored by kliment's avatar kliment

Do not show gcode window unless file is loaded

parent 76818fc0
...@@ -424,6 +424,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -424,6 +424,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
#uts.Layout() #uts.Layout()
def showwin(self,event): def showwin(self,event):
if(self.f is not None):
self.gwindow.Show() self.gwindow.Show()
def setfeeds(self,e): def setfeeds(self,e):
......
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