mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
UPD: Code optimization and formatting
This commit is contained in:
parent
bb977fe4fd
commit
b251d148fb
3 changed files with 98 additions and 120 deletions
|
|
@ -226,7 +226,7 @@ begin
|
|||
ktbBar.SaveToIniFile(IniBarFile);
|
||||
IniBarFile.UpdateFile;
|
||||
|
||||
frmMain.MainToolBar.DeleteAllToolButtons;
|
||||
frmMain.MainToolBar.Clear;
|
||||
frmMain.MainToolBar.LoadFromIniFile(IniBarFile);
|
||||
|
||||
finally
|
||||
|
|
|
|||
|
|
@ -2783,9 +2783,7 @@ var
|
|||
Drive : PDrive;
|
||||
BitmapTmp: Graphics.TBitmap;
|
||||
begin
|
||||
//dskPanel.InitBounds; // Update information
|
||||
|
||||
dskPanel.DeleteAllToolButtons;
|
||||
dskPanel.Clear;
|
||||
dskPanel.Flat := gDriveBarFlat;
|
||||
Count := DrivesList.Count - 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue