Do not show gcode window unless file is loaded

master
kliment 2011-07-10 20:56:25 +02:00
parent 76818fc072
commit c93ecbf993
1 changed files with 2 additions and 1 deletions

View File

@ -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