<div dir="ltr"><div>I'd like to open a welcome dialog at startup which can be disabled by a user.<br><br>Page<br>{<br></div> id: mainPage<br><div> function openWelcomeDialog()<br> {<br> var component = Qt.createComponent("WelcomeDialog.qml")<br>
var popup = component.createObject(mainPage)<br> popup.open()<br> }<br><br> Component.onCompleted: openWelcomeDialog()<br> // ...<br>}<br><br></div><div>In fact
<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:9pt;color:rgb(181,11,11)">[W] unknown:90 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:90: Error: Cannot push while operation is in progress: push</span></p>
<p style="margin:0px;text-indent:0px;font-family:'Monospace';font-size:9pt;color:rgb(181,11,11)"> <span style="color:rgb(0,0,0)">happens.</span></p><p style="margin:0px;text-indent:0px;font-family:'Monospace';font-size:9pt;color:rgb(181,11,11)">
<br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px;font-family:'Monospace';font-size:9pt;color:rgb(181,11,11)"><span style="color:rgb(0,0,0)">What's done wrong?<br></span></p></div>
<div><div><div><div>--</div>Marcin<br></div>
</div></div></div>