From: Soeren Apel Date: Thu, 6 Jul 2017 20:27:46 +0000 (+0200) Subject: DecodeSignal: Fix flawed PD stack restoration X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4ca06ec34ab94ce25b96b16b749b241593858cb1;p=pulseview.git DecodeSignal: Fix flawed PD stack restoration Before, the libsigrokdecode sessions would be started without having any channels assigned to it, which of course should be avoided. --- diff --git a/pv/data/decodesignal.cpp b/pv/data/decodesignal.cpp index 1b06bec9..8cbf230d 100644 --- a/pv/data/decodesignal.cpp +++ b/pv/data/decodesignal.cpp @@ -508,11 +508,13 @@ void DecodeSignal::restore_settings(QSettings &settings) // Include the newly created decode channels in the channel lists update_channel_list(); + commit_decoder_channels(); break; } } settings.endGroup(); + channels_updated(); } // Restore channel mapping