SignalBase: Default to dynamic conversion preset, not custom values
authorSoeren Apel <soeren@apelpie.net>
Wed, 2 Aug 2017 16:42:34 +0000 (18:42 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 3 Aug 2017 11:16:22 +0000 (13:16 +0200)
commit753c8f08d8aefec455577b980d105500cd6addd8
tree64e19fd93edbcf66a606904a2db4d4c9240d2681
parentc6d9cf6582589fd375e67579d42ee914ce6382a1
SignalBase: Default to dynamic conversion preset, not custom values

The reason for this change is that when you initially select a
conversion from the channel config popup dialog, the threshold
will be set to "0.0V" or "0.0V/0.0V", respectively.
This is of course not what we want and the root cause is that
when no preset is selected, NoPreset is assumed instead of
DynamicPreset. This patch changes this.
pv/data/signalbase.cpp