mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibGUI: Fix logic typo in AbstractTableView::update_row_sizes()
We should skip over non-visible *rows*, not *columns*.
This commit is contained in:
parent
36a56871c0
commit
8360079cac
Notes:
sideshowbarker
2024-07-18 18:10:31 +09:00
Author: https://github.com/awesomekling
Commit: 8360079cac
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void AbstractTableView::update_row_sizes()
|
|||
int row_count = model.row_count();
|
||||
|
||||
for (int row = 0; row < row_count; ++row) {
|
||||
if (!column_header().is_section_visible(row))
|
||||
if (!row_header().is_section_visible(row))
|
||||
continue;
|
||||
row_header().set_section_size(row, row_height());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue