Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
6fb3d638 by Benjamin Arnaud at 2022-07-28T07:36:18+00:00
qml/ExpandGridView: Handle the 'layoutChanged' event

This fixes a sorting issue we had in our network views.

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/ExpandGridView.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/ExpandGridView.qml
=====================================
@@ -229,6 +229,9 @@ FocusScope {
         onRowsInserted: _onModelCountChanged()
         onRowsRemoved: _onModelCountChanged()
         onModelReset: _onModelCountChanged()
+
+        // NOTE: This is useful for SortFilterProxyModel(s).
+        onLayoutChanged: _onModelCountChanged()
     }
 
     Connections {



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6fb3d6384c3672dab4068f896417417226f7a266

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/6fb3d6384c3672dab4068f896417417226f7a266
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to