summaryrefslogtreecommitdiff
path: root/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-11 00:19:34 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-11 00:19:34 +0200
commit3c62534ae68b4c55516a2af278712d1afaa2d50d (patch)
treeca901ab97b0ebfa1d1a07dfb83412fc4b921b942 /LibGUI
parentdd7406ce3fb6db638cc523c92aad344731ee1036 (diff)
downloadserenity-3c62534ae68b4c55516a2af278712d1afaa2d50d.zip
GTableView: Update content size immediately on column show/hide.
Diffstat (limited to 'LibGUI')
-rw-r--r--LibGUI/GTableView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GTableView.cpp b/LibGUI/GTableView.cpp
index bb2c49a552..e4b49af9e5 100644
--- a/LibGUI/GTableView.cpp
+++ b/LibGUI/GTableView.cpp
@@ -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();
}