X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftabular_decoder%2Fview.cpp;h=00f6e20a5d00120381d61a36fa134eaf2e945c7a;hp=5446ff8e248a7781606b78717a9c8eca318efa9e;hb=6d46525fb5566856d01deac5a7787699b17cc4e4;hpb=be0f59038035f7a560082feba35524d418a9153a diff --git a/pv/views/tabular_decoder/view.cpp b/pv/views/tabular_decoder/view.cpp index 5446ff8e..00f6e20a 100644 --- a/pv/views/tabular_decoder/view.cpp +++ b/pv/views/tabular_decoder/view.cpp @@ -86,8 +86,7 @@ View::View(Session &session, bool is_main_view, QMainWindow *parent) : save_action_(new QAction(this)), table_view_(new QCustomTableView()), model_(new AnnotationCollectionModel()), - signal_(nullptr), - updating_data_(false) + signal_(nullptr) { QVBoxLayout *root_layout = new QVBoxLayout(this); root_layout->setContentsMargins(0, 0, 0, 0); @@ -241,18 +240,7 @@ void View::reset_data() void View::update_data() { - if (updating_data_) { - if (!delayed_view_updater_.isActive()) - delayed_view_updater_.start(); - return; - } - - updating_data_ = true; - - table_view_->setRootIndex(model_->index(1, 0, QModelIndex())); model_->set_signal_and_segment(signal_, current_segment_); - - updating_data_ = false; } void View::save_data_as_csv(unsigned int save_type) const