}
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)
{
(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()
// Check if we need to update the model's data range. We only work on the
// end sample value because the start sample value is updated first and
// we don't want to update the model twice
-
if ((view_mode_selector_->currentIndex() == ViewModeVisible) &&
(obj->type() == MetadataObjMainViewRange) &&
(value_type == MetadataValueEndSample)) {