projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21501d
)
DecodeSignal: Fix flawed PD stack restoration
author
Soeren Apel
<soeren@apelpie.net>
Thu, 6 Jul 2017 20:27:46 +0000
(22:27 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Thu, 6 Jul 2017 20:27:46 +0000
(22:27 +0200)
Before, the libsigrokdecode sessions would be started without
having any channels assigned to it, which of course should be
avoided.
pv/data/decodesignal.cpp
patch
|
blob
|
history
diff --git
a/pv/data/decodesignal.cpp
b/pv/data/decodesignal.cpp
index 1b06bec942f1c6cc1359cb7ba9c5d853569af339..8cbf230d1e8f0cddae1f5c28fdfaea54a92039c4 100644
(file)
--- 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