]> sigrok.org Git - pulseview.git/blobdiff - pv/session.cpp
Standardize on 'event' as name for all Qt events.
[pulseview.git] / pv / session.cpp
index 7545da3c15030a7090974f1ee65ee4f413c2e44a..9fd8fb3eb9b5bdf6a1c03cf5f457e9b5113de493 100644 (file)
@@ -144,10 +144,10 @@ void Session::set_device(shared_ptr<devices::Device> device)
                (shared_ptr<sigrok::Device> device, shared_ptr<Packet> packet) {
                        data_feed_in(device, packet);
                });
-       update_signals();
 
        decode_traces_.clear();
 
+       update_signals();
        device_selected();
 }
 
@@ -581,7 +581,7 @@ void Session::feed_in_analog(shared_ptr<Analog> analog)
                if (iter != cur_analog_segments_.end())
                        segment = (*iter).second;
                else {
-                       // If no segment was found, this means we havn't
+                       // If no segment was found, this means we haven't
                        // created one yet. i.e. this is the first packet
                        // in the sweep containing this segment.
                        sweep_beginning = true;