Explorar o código

Not re-raising TCL errors. Solves issue #82.

Juan Pablo Caram %!s(int64=11) %!d(string=hai) anos
pai
achega
0cee5d95cc
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      FlatCAMApp.py

+ 4 - 1
FlatCAMApp.py

@@ -139,6 +139,10 @@ class App(QtCore.QObject):
         App.log.debug("Started in " + os.getcwd())
         os.chdir(self.app_home)
 
+        ####################
+        ## Initialize GUI ##
+        ####################
+
         QtCore.QObject.__init__(self)
 
         self.ui = FlatCAMGUI(self.version)
@@ -586,7 +590,6 @@ class App(QtCore.QObject):
             self.shell.append_output(result + '\n')
         except Tkinter.TclError, e:
             self.shell.append_error('ERROR: ' + str(e) + '\n')
-            raise
         return
 
         """