Commit 062324d7 authored by Karel Slaný's avatar Karel Slaný

Printing error message when creation of QML dialogue fails.

parent 1b8b1383
......@@ -328,6 +328,7 @@ ApplicationWindow {
if (dlgComponent.status == Component.Ready) {
finishCreation();
} else {
console.log("Failed loading dlgComponent:", dlgComponent.errorString());
dlgComponent.statusChanged.connect(finishCreation);
}
......@@ -395,6 +396,7 @@ ApplicationWindow {
if (dlgComponent.status == Component.Ready) {
finishCreation();
} else {
console.log("Failed loading dlgComponent:", dlgComponent.errorString());
dlgComponent.statusChanged.connect(finishCreation);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment