mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user