diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-12-15 12:34:07 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-12-17 08:59:24 +0000 |
commit | 9f8a48b24536be4b5fd1f977ced7254f41e2832b (patch) | |
tree | 725545695d62f14d709796643c98e9ae0e6a717f /src/plugins/python/pythonproject.cpp | |
parent | 6ac319b94d8a37f26887e90c335783acdf3423aa (diff) | |
download | qt-creator-9f8a48b24536be4b5fd1f977ced7254f41e2832b.tar.gz |
Python: Be less disrupting with the messages pane
Only pop it open directly after explicit interaction
Task-number: QTCREATORBUG-24430
Change-Id: I55025a901cb3d694994614bae21204ab9da49fc0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r-- | src/plugins/python/pythonproject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 9b56871384..db15e318bd 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -302,7 +302,7 @@ bool PythonBuildSystem::saveRawList(const QStringList &rawList, const QString &f QString errorMessage; result = writePyProjectFile(fileName, content, rawList, &errorMessage); if (!errorMessage.isEmpty()) - MessageManager::write(errorMessage); + MessageManager::writeDisrupting(errorMessage); } } } else { // Old project file @@ -404,12 +404,12 @@ void PythonBuildSystem::parse() QString errorMessage; m_rawFileList = readLinesJson(filePath, &errorMessage); if (!errorMessage.isEmpty()) - MessageManager::write(errorMessage); + MessageManager::writeFlashing(errorMessage); errorMessage.clear(); m_rawQmlImportPathList = readImportPathsJson(filePath, &errorMessage); if (!errorMessage.isEmpty()) - MessageManager::write(errorMessage); + MessageManager::writeFlashing(errorMessage); } else if (filePath.endsWith(".pyqtc")) { // To keep compatibility with PyQt we keep the compatibility with plain // text files as project files. |