forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
96c5a8a789
commit
df47dad53c
@@ -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);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user