mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
GTableView: Update content size immediately on column show/hide.
This commit is contained in:
parent
dd7406ce3f
commit
3c62534ae6
1 changed files with 1 additions and 0 deletions
|
@ -395,6 +395,7 @@ void GTableView::set_column_hidden(int column, bool hidden)
|
||||||
if (column_data.visibility == !hidden)
|
if (column_data.visibility == !hidden)
|
||||||
return;
|
return;
|
||||||
column_data.visibility = !hidden;
|
column_data.visibility = !hidden;
|
||||||
|
update_content_size();
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue