More FreeCADGui removal from Path model classes.

This commit is contained in:
Markus Lampert
2019-06-02 00:22:19 -07:00
parent e472693c8c
commit 71a3690892
2 changed files with 1 additions and 5 deletions

View File

@@ -23,7 +23,6 @@
# ***************************************************************************
import FreeCAD
import FreeCADGui
import Path
import PathScripts.PathLog as PathLog
import PathScripts.PathPreferences as PathPreferences
@@ -40,6 +39,7 @@ PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())
class JobPreferencesPage:
def __init__(self, parent=None):
import FreeCADGui
self.form = FreeCADGui.PySideUic.loadUi(":preferences/PathJob.ui")
self.form.toolBox.setCurrentIndex(0) # Take that qt designer!

View File

@@ -42,10 +42,6 @@ if False:
else:
PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())
if FreeCAD.GuiUp:
import FreeCADGui
from PySide import QtGui
# Qt translation handling
def translate(context, text, disambig=None):