From 2e7811a9f41821ce83a196780d0bc33d2866a83d Mon Sep 17 00:00:00 2001 From: siegmund42 Date: Sat, 21 Jan 2017 17:28:23 +0100 Subject: [PATCH] Fixed choose external input does not consider page number --- ui/src/inputselectionwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/inputselectionwidget.cpp b/ui/src/inputselectionwidget.cpp index b00c41b2c7..f28c2290f5 100644 --- a/ui/src/inputselectionwidget.cpp +++ b/ui/src/inputselectionwidget.cpp @@ -175,9 +175,9 @@ void InputSelectionWidget::slotChooseInputClicked() SelectInputChannel sic(this, m_doc->inputOutputMap()); if (sic.exec() == QDialog::Accepted) { - m_inputSource = QSharedPointer(new QLCInputSource(sic.universe(), sic.channel())); + m_inputSource = QSharedPointer(new QLCInputSource(sic.universe(), (m_widgetPage << 16) | sic.channel())); updateInputSource(); - emit inputValueChanged(sic.universe(), sic.channel()); + emit inputValueChanged(sic.universe(), (m_widgetPage << 16) | sic.channel()); } }