vlc | branch: master | Pierre Lamot <[email protected]> | Wed Sep 25 18:22:32 2019 +0200| [7b035bfe331f0595f3a97f22f304dcd739820c47] | committer: Jean-Baptiste Kempf
qml: navigate back in history on cancel action in network view Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7b035bfe331f0595f3a97f22f304dcd739820c47 --- modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml b/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml index cfd7569298..8cfbe5d54b 100644 --- a/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml +++ b/modules/gui/qt/qml/mediacenter/MCNetworkDisplay.qml @@ -279,6 +279,9 @@ Utils.NavigableFocusScope { onActionAtIndex: delegateModel.actionAtIndex(index) navigationParent: root + navigationCancel: function() { + history.previous(History.Go) + } header: Utils.LabelSeparator { text: providerModel.name @@ -304,6 +307,9 @@ Utils.NavigableFocusScope { onActionAtIndex: delegateModel.actionAtIndex(index) navigationParent: root + navigationCancel: function() { + history.previous(History.Go) + } header: Utils.LabelSeparator { text: providerModel.name _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
