- overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
# Modified by Marius Stanciu (2020) #
|
||||
# ###########################################################
|
||||
|
||||
from appObjects.ObjectCollection import *
|
||||
from PyQt6 import QtCore
|
||||
|
||||
from appObjects.CNCJobObject import CNCJobObject
|
||||
from appObjects.DocumentObject import DocumentObject
|
||||
from appObjects.ExcellonObject import ExcellonObject
|
||||
@@ -17,6 +18,7 @@ from appObjects.ScriptObject import ScriptObject
|
||||
|
||||
import time
|
||||
import traceback
|
||||
from copy import deepcopy
|
||||
|
||||
# FlatCAM Translation
|
||||
import gettext
|
||||
@@ -336,11 +338,6 @@ class AppObject(QtCore.QObject):
|
||||
except Exception as e:
|
||||
self.app.log.error("AppObject.new_object() -> setting colors error. %s" % str(e))
|
||||
|
||||
# #############################################################################################################
|
||||
# update the SHELL auto-completer model with the name of the new object
|
||||
# #############################################################################################################
|
||||
self.app.shell.command_line().set_model_data(self.app.myKeywords)
|
||||
|
||||
if auto_select or self.app.ui.notebook.currentWidget() is self.app.ui.properties_tab:
|
||||
# select the just opened object but deselect the previous ones
|
||||
self.app.collection.set_all_inactive()
|
||||
|
||||
Reference in New Issue
Block a user