diff options
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r-- | src/plugins/python/pythonutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 4174702c1f..a98fdc449a 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -518,7 +518,7 @@ void openPythonRepl(const FilePath &file, ReplType type) return project->projectDirectory(); return FilePath::fromString(QDir::currentPath()); } - return file; + return file.absolutePath(); }; const auto args = QStringList{"-i"} + replImportArgs(file, type); |