]> rtime.felk.cvut.cz Git - coffee/qtwebbrowser.git/commit
Fix race condition when removing tab
authorAndras Becsi <andras.becsi@theqtcompany.com>
Wed, 22 Jul 2015 13:02:55 +0000 (15:02 +0200)
committerAndras Becsi <andras.becsi@theqtcompany.com>
Wed, 12 Aug 2015 15:22:02 +0000 (17:22 +0200)
commit8405e553c3b7a73caeb0a4ae230e4b2357a11414
treecdfecf809cbce9518d715a54b20bf72627434e1f
parentf10e6287f0b45788efbe15965595f699679ec590
Fix race condition when removing tab

When the user clicked on a tab in the PageView before the animation
of the re-arrangement after closing a tab finished it would put the
view into an inconsistent state. To prevent this set the tab's state
to default before removing it so the binding would not interfere with
the animation. Also fix the style after the size updates.
src/qml/NavigationBar.qml
src/qml/PageView.qml