<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Model update not shown after pop of StackView]]></title><description><![CDATA[<p dir="auto">I have a QML view with a StackView in it.</p>
<p dir="auto">when i initially load a ListView with a model of my own C++ model (subclassed from QAbstractListModel)<br />
it loads fine and shows everything.</p>
<p dir="auto">when i push another view in the StackView with a 'settings' QML that can clear the model, the model emits a dataChanged, but when i pop back to the ListView the changed (now empty) model is not updated in the View.</p>
<p dir="auto">Only if i go back (pop) one more in the StackView  and re-load the ListView it is properly reflected by showing an empty ListView</p>
<p dir="auto">Is this expected behaviour of the StackView to not update the view on pop ?<br />
Do i need to force a refresh (besides emitting the dataChanged signal ) ?</p>
]]></description><link>https://forum.qt.io/topic/52061/model-update-not-shown-after-pop-of-stackview</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 15:23:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/52061.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Mar 2015 12:13:23 GMT</pubDate><ttl>60</ttl></channel></rss>