aboutsummaryrefslogtreecommitdiffstats
path: root/examples/projects/view.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/projects/view.py')
-rw-r--r--examples/projects/view.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/projects/view.py b/examples/projects/view.py
index 31dbbe6..df1eeb0 100644
--- a/examples/projects/view.py
+++ b/examples/projects/view.py
@@ -41,10 +41,10 @@
# This contains all the display logic
from PySide2 import QtWidgets
-from PythonExtension import QtCreator
+from QtCreator import Core
def error(text, title="Error"):
- QtWidgets.QMessageBox.critical(QtCreator.Core.ICore.instance().dialogParent(), title, text)
+ QtWidgets.QMessageBox.critical(Core.ICore.instance().dialogParent(), title, text)
def show(text, title="Result"):
- QtWidgets.QMessageBox.information(QtCreator.Core.ICore.instance().dialogParent(), title, text)
+ QtWidgets.QMessageBox.information(Core.ICore.instance().dialogParent(), title, text)