mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Crash under Mac OS X
This commit is contained in:
parent
f34b69ba9e
commit
fdb5c02fda
1 changed files with 5 additions and 6 deletions
|
|
@ -261,17 +261,16 @@ begin
|
|||
ParseLineToList(rsMulRenFileNameStyleList, cmbNameStyle.Items);
|
||||
ParseLineToList(rsMulRenFileNameStyleList, cmbExtensionStyle.Items);
|
||||
|
||||
// Set row count
|
||||
StringGrid.RowCount:= FFiles.Count + 1;
|
||||
StringGrid.FocusRectVisible := False;
|
||||
|
||||
// Initialize property storage
|
||||
IniPropStorage:= InitPropStorage(Self);
|
||||
IniPropStorage.StoredValues.Add.DisplayName:= 'lsvwFile_Columns.Item0_Width';
|
||||
IniPropStorage.StoredValues.Add.DisplayName:= 'lsvwFile_Columns.Item1_Width';
|
||||
IniPropStorage.StoredValues.Add.DisplayName:= 'lsvwFile_Columns.Item2_Width';
|
||||
|
||||
// Set row count
|
||||
StringGrid.RowCount:= FFiles.Count + 1;
|
||||
|
||||
StringGrid.FocusRectVisible := False;
|
||||
|
||||
// Set default values for controls.
|
||||
btnRestoreClick(nil);
|
||||
|
||||
|
|
@ -1189,4 +1188,4 @@ begin
|
|||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue