X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.cpp;h=bfb702cf064ce062462b67e5c7f0d0eba3f822d0;hb=1ec3e43f7489cae3a9ca43e665044c8717f345f1;hp=df9113679d2d5ddddd67c169778ea4820166cddc;hpb=efdec55aec1a137460fa362a381ed1904182bfed;p=pulseview.git diff --git a/pv/popups/deviceoptions.cpp b/pv/popups/deviceoptions.cpp index df911367..bfb702cf 100644 --- a/pv/popups/deviceoptions.cpp +++ b/pv/popups/deviceoptions.cpp @@ -49,5 +49,14 @@ pv::binding::Device& DeviceOptions::binding() return binding_; } +void DeviceOptions::show() +{ + // Update device config widgets with the current values supplied by the + // driver before actually showing the popup dialog + binding_.update_property_widgets(); + + Popup::show(); +} + } // namespace popups } // namespace pv