aboutsummaryrefslogtreecommitdiffstats
path: root/examples/transform/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/transform/actions.py')
-rw-r--r--examples/transform/actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/transform/actions.py b/examples/transform/actions.py
index da65b21..e459ab2 100644
--- a/examples/transform/actions.py
+++ b/examples/transform/actions.py
@@ -40,12 +40,12 @@
from . import ui
-from PythonExtension import QtCreator
+from QtCreator import Core
# Apply a function to each file
def run(code):
try:
- files = QtCreator.Core.DocumentManager.getOpenFileNames("")
+ files = Core.DocumentManager.getOpenFileNames("")
if len(files) == 0:
ui.error("No files were selected.")
return