From 0c8ce95985a0f758337b0b902ae1bc354b2347da Mon Sep 17 00:00:00 2001 From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> Date: Tue, 2 Feb 2016 11:47:17 -0500 Subject: [PATCH] sourcemodel: fix selection not being updated Change-Id: I24b6af8e69072416055dc90d6cf8ffeb03a1d1bb Tuleap: #297 --- src/video/sourcemodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/sourcemodel.cpp b/src/video/sourcemodel.cpp index 6c1ec387..9eb63419 100644 --- a/src/video/sourcemodel.cpp +++ b/src/video/sourcemodel.cpp @@ -160,6 +160,7 @@ void Video::SourceModel::switchTo(const int idx) .arg(Video::DeviceModel::instance().index(idx-ExtendedDeviceList::COUNT__,0).data(Qt::DisplayRole).toString())); break; }; + d_ptr->m_CurrentSelection = newIdx; } ///Set the index of the currently used source -- GitLab