diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-11 00:19:34 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-11 00:19:34 +0200 |
commit | 3c62534ae68b4c55516a2af278712d1afaa2d50d (patch) | |
tree | ca901ab97b0ebfa1d1a07dfb83412fc4b921b942 /LibGUI | |
parent | dd7406ce3fb6db638cc523c92aad344731ee1036 (diff) | |
download | serenity-3c62534ae68b4c55516a2af278712d1afaa2d50d.zip |
GTableView: Update content size immediately on column show/hide.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GTableView.cpp | 1 |
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(); } |