From 4ca06ec34ab94ce25b96b16b749b241593858cb1 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Thu, 6 Jul 2017 22:27:46 +0200 Subject: [PATCH] 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. --- pv/data/decodesignal.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2