Changeset 99 for trunk/UCore.pas


Ignore:
Timestamp:
Aug 30, 2016, 6:58:53 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Incorrect update of last opened files if the application was started with file name as parameter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r97 r99  
    101101      // Open file specified as command line parameter
    102102      AcronymDB.LoadFromFile(FileNameOption);
    103       FormMain.LastOpenedList1.AddItem(FormMain.OpenDialog1.FileName);
     103      FormMain.LastOpenedList1.AddItem(FileNameOption);
    104104    end else
    105105    if (FormMain.LastOpenedList1.Items.Count > 0) and FileExists(FormMain.LastOpenedList1.Items[0]) then begin
Note: See TracChangeset for help on using the changeset viewer.