Commit 267b9db2 authored by Guillaume Seguin's avatar Guillaume Seguin

Update pronterface.py to newer projectlayer

parent c82da85e
...@@ -534,10 +534,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -534,10 +534,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
def project(self,event): def project(self,event):
from printrun import projectlayer from printrun import projectlayer
if self.p.online: projectlayer.SettingsFrame(self, self.p).Show()
projectlayer.setframe(self,self.p).Show()
else:
print _("Printer is not online.")
def popmenu(self): def popmenu(self):
self.menustrip = wx.MenuBar() self.menustrip = wx.MenuBar()
......
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