- more refactoring in the app Editors

This commit is contained in:
Marius Stanciu
2020-06-08 19:53:31 +03:00
committed by Marius
parent 05df0a61c2
commit 850b80bb41
23 changed files with 4976 additions and 4975 deletions

View File

@@ -11,7 +11,7 @@ from appGUI.GUIElements import FCComboBox, FCEntry, FCTable, \
FCInputDialog, FCDoubleSpinner, FCSpinner, FCFileSaveDialog
from app_Main import log
from camlib import distance
from appEditors.FlatCAMTextEditor import TextEditor
from appEditors.AppTextEditor import AppTextEditor
from PyQt5 import QtGui, QtCore, QtWidgets
from PyQt5.QtCore import Qt
@@ -1414,7 +1414,7 @@ class SolderPaste(AppTool):
"""
time_str = "{:%A, %d %B %Y at %H:%M}".format(datetime.now())
self.text_editor_tab = TextEditor(app=self.app)
self.text_editor_tab = AppTextEditor(app=self.app)
# add the tab if it was closed
self.app.ui.plot_tab_area.addTab(self.text_editor_tab, _("SP GCode Editor"))