X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftabular_decoder%2Fview.cpp;h=0aca4790e8ecc6d984df00129811a1a82fae7077;hb=b36ba61198551c5994c9b3210b07109ac0d87829;hp=91bcaea197bee2a0645d9f314fb77c2f5053df21;hpb=1774d669023d26029bbc19ac6c3f5a564ab1fed4;p=pulseview.git diff --git a/pv/views/tabular_decoder/view.cpp b/pv/views/tabular_decoder/view.cpp index 91bcaea1..0aca4790 100644 --- a/pv/views/tabular_decoder/view.cpp +++ b/pv/views/tabular_decoder/view.cpp @@ -470,6 +470,9 @@ void View::on_selected_decoder_changed(int index) } update_data(); + + // Force repaint, otherwise the new selection isn't shown for some reason + table_view_->viewport()->update(); } void View::on_hide_hidden_changed(bool checked) @@ -532,7 +535,8 @@ void View::on_signal_color_changed(const QColor &color) { (void)color; - table_view_->update(); + // Force immediate repaint, otherwise it's updated after the header popup is closed + table_view_->viewport()->update(); } void View::on_new_annotations()