diff --git a/ui/src/virtualconsole/vcslider.cpp b/ui/src/virtualconsole/vcslider.cpp index fcfc70d0bb..676951d94a 100644 --- a/ui/src/virtualconsole/vcslider.cpp +++ b/ui/src/virtualconsole/vcslider.cpp @@ -282,6 +282,9 @@ bool VCSlider::copyFrom(const VCWidget* widget) /* Copy monitor mode */ setChannelsMonitorEnabled(slider->channelsMonitorEnabled()); + /* Copy flash enabling */ + setPlaybackFlashEnable(slider->playbackFlashEnable()); + /* Copy common stuff */ return VCWidget::copyFrom(widget); } @@ -1034,7 +1037,7 @@ void VCSlider::notifyFunctionStarting(quint32 fid, qreal functionIntensity) } } -bool VCSlider::playbackFlashEnable() +bool VCSlider::playbackFlashEnable() const { return m_playbackFlashEnable; } diff --git a/ui/src/virtualconsole/vcslider.h b/ui/src/virtualconsole/vcslider.h index 6e9c8c10cb..280b498eae 100644 --- a/ui/src/virtualconsole/vcslider.h +++ b/ui/src/virtualconsole/vcslider.h @@ -395,7 +395,7 @@ protected slots: virtual void notifyFunctionStarting(quint32 fid, qreal intensity); /** Get/Set the status of the flash button enablement */ - bool playbackFlashEnable(); + bool playbackFlashEnable() const; void setPlaybackFlashEnable(bool enable); protected: