QmlDesigner: Avoid focus lose live preview

Change the behavior of the output pane when an error occurs in the
QML live preview to avoid focus lose.

Change-Id: I78326af5060c775837d7a2d930c1fdd73b500f16
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
This commit is contained in:
Henning Gruendl
2022-07-05 15:30:27 +02:00
committed by Henning Gründl
parent 96c5a8a789
commit df47dad53c

View File

@@ -202,7 +202,7 @@ void QmlPreviewConnectionManager::createPreviewClient()
&QmlPreviewClient::errorReported,
this,
[](const QString &error) {
Core::MessageManager::writeDisrupting("Error loading QML Live Preview:");
Core::MessageManager::writeFlashing("Error loading QML Live Preview:");
Core::MessageManager::writeSilently(error);
});