Commit c93ecbf9 authored by kliment's avatar kliment

Do not show gcode window unless file is loaded

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