Changeset 18 for trunk/Form


Ignore:
Timestamp:
Apr 2, 2016, 9:15:35 PM (9 years ago)
Author:
chronos
Message:
  • Added: Mark written sectors with write flag and blue color.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Form/UFormMain.pas

    r17 r18  
    197197  Selected: Boolean);
    198198begin
    199   Core.Project.CurrentScan := TDriveScan(Item.Data);
    200   Redraw;
    201   ReloadOperationList;
     199  if Selected then begin
     200    Core.Project.CurrentScan := TDriveScan(Item.Data);
     201    Redraw;
     202    ReloadOperationList;
     203  end;
    202204end;
    203205
     
    243245  with Core.Project do begin
    244246    CurrentScan.DriveName := DriveInfo.Path;
     247    CurrentScan.SectorCount := DriveInfo.SectorCount;
    245248    CurrentScan.SectorSize := DriveInfo.SectorSize;
    246249    CurrentScan.Reset;
Note: See TracChangeset for help on using the changeset viewer.