From 7036f67a029c4d196bad786ac96d7d812c59f71d Mon Sep 17 00:00:00 2001 From: Marcus Birkin Date: Tue, 3 Mar 2020 20:06:59 +0000 Subject: [PATCH] #207 Levels are asserted when switching between fader and grid tabs --- src/transmitwindow.cpp | 7 +++++++ src/transmitwindow.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/transmitwindow.cpp b/src/transmitwindow.cpp index 76fb7277..cff32b7e 100644 --- a/src/transmitwindow.cpp +++ b/src/transmitwindow.cpp @@ -573,6 +573,13 @@ void transmitwindow::on_tabWidget_currentChanged(int index) m_fxEngine,"run"); break; } + + case tabGrid: + { + // Reassert levels + m_sender->setLevel(m_levels.data(),m_levels.size()); + break; + } } } diff --git a/src/transmitwindow.h b/src/transmitwindow.h index 89e93d22..26976152 100644 --- a/src/transmitwindow.h +++ b/src/transmitwindow.h @@ -84,6 +84,7 @@ private slots: tabSliders, tabChannelCheck, tabEffects, + tabGrid }; void setUniverseOptsEnabled(bool enabled);