@@ -119,7 +119,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -119,7 +119,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
def__init__(self,app,filename=None,size=winsize):
def__init__(self,app,filename=None,size=winsize):
pronsole.pronsole.__init__(self)
pronsole.pronsole.__init__(self)
self.app=app
self.app=app
self.settings._add(BooleanSetting("monitor",True,_("Monitor printer status"),_("Regularly monitor printer temperatures (required to have functional temperature graph or gauges)"),"Printer"))
self.settings._add(BooleanSetting("monitor",True,_("Monitor printer status"),_("Regularly monitor printer temperatures (required to have functional temperature graph or gauges)"),"Printer"),self.update_monitor)
self.settings._add(StringSetting("simarrange_path","",_("Simarrange command"),_("Path to the simarrange binary to use in the STL plater"),"External"))
self.settings._add(StringSetting("simarrange_path","",_("Simarrange command"),_("Path to the simarrange binary to use in the STL plater"),"External"))
self.settings._add(BooleanSetting("circular_bed",False,_("Circular build platform"),_("Draw a circular (or oval) build platform instead of a rectangular one"),"Printer"))
self.settings._add(BooleanSetting("circular_bed",False,_("Circular build platform"),_("Draw a circular (or oval) build platform instead of a rectangular one"),"Printer"))
self.settings._add(SpinSetting("extruders",0,1,5,_("Extruders count"),_("Number of extruders"),"Printer"))
self.settings._add(SpinSetting("extruders",0,1,5,_("Extruders count"),_("Number of extruders"),"Printer"))
...
@@ -176,7 +176,6 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -176,7 +176,6 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.userm114=0
self.userm114=0
self.userm105=0
self.userm105=0
self.m105_waitcycles=0
self.m105_waitcycles=0
self.monitor=0
self.fgcode=None
self.fgcode=None
self.excluder=None
self.excluder=None
self.skeinp=None
self.skeinp=None
...
@@ -269,7 +268,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -269,7 +268,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
ifself.filenameisnotNone:
ifself.filenameisnotNone:
self.do_load(self.filename)
self.do_load(self.filename)
ifself.settings.monitor:
ifself.settings.monitor:
self.setmonitor(None)
self.update_monitor()
defon_resize(self,event):
defon_resize(self,event):
maximized=self.IsMaximized()
maximized=self.IsMaximized()
...
@@ -1312,26 +1311,23 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
...
@@ -1312,26 +1311,23 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""