Ver Fonte

- fixed issue #278. Crash on name change in the Name field in the Selected Tab.

Marius Stanciu há 6 anos atrás
pai
commit
ffa9095066
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 1
      FlatCAMObj.py
  2. 1 0
      README.md

+ 1 - 1
FlatCAMObj.py

@@ -178,7 +178,7 @@ class FlatCAMObj(QtCore.QObject):
         self.muted_ui = False
         self.muted_ui = False
 
 
     def on_name_activate(self):
     def on_name_activate(self):
-        old_name = copy.copy(self.options["name"])
+        old_name = copy(self.options["name"])
         new_name = self.ui.name_entry.get_value()
         new_name = self.ui.name_entry.get_value()
 
 
         # update the SHELL auto-completer model data
         # update the SHELL auto-completer model data

+ 1 - 0
README.md

@@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
 
 
 - added new feature: user can delete apertures in Advanced mode and then create a new FlatCAM Gerber object
 - added new feature: user can delete apertures in Advanced mode and then create a new FlatCAM Gerber object
 - progress in German translation. About 27% done.
 - progress in German translation. About 27% done.
+- fixed issue #278. Crash on name change in the Name field in the Selected Tab.
 
 
 26.03.2019
 26.03.2019