GTableView: Update content size immediately on column show/hide.

This commit is contained in:
Andreas Kling 2019-05-11 00:19:34 +02:00
parent dd7406ce3f
commit 3c62534ae6
Notes: sideshowbarker 2024-07-19 14:10:29 +09:00

View File

@ -395,6 +395,7 @@ void GTableView::set_column_hidden(int column, bool hidden)
if (column_data.visibility == !hidden)
return;
column_data.visibility = !hidden;
update_content_size();
update();
}