mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Crash when removing columns headers in options. Bug [0000473].
This commit is contained in:
parent
ecb076c1bc
commit
82725ec92b
1 changed files with 10 additions and 1 deletions
|
|
@ -1309,7 +1309,16 @@ begin
|
|||
RowHeights[0] := TabHeaderHeight;
|
||||
end
|
||||
else
|
||||
FixedRows := 0;
|
||||
begin
|
||||
if FixedRows > 0 then
|
||||
begin
|
||||
// First reduce number of rows so that the 0'th row, which will be changed
|
||||
// to not-fixed, won't be counted as a row having a file.
|
||||
if RowCount > 0 then
|
||||
RowCount := RowCount - 1;
|
||||
FixedRows := 0;
|
||||
end;
|
||||
end;
|
||||
|
||||
FixedCols := 0;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue