Changeset 194 for trunk/Locale.pas


Ignore:
Timestamp:
May 7, 2020, 8:39:24 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Locale configuration in configuration was not working as expected. ModalResult of Ok and Cancel buttons was opposite. Selected locale was not applied during application startup.
  • Fixed: Updating fullscreen mode after changeing mode in configuration window.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Locale.pas

    r167 r194  
    111111procedure TLocaleDlg.CancelBtnClick(Sender: TObject);
    112112begin
    113   ModalResult := mrOk;
     113  ModalResult := mrCancel;
    114114end;
    115115
     
    161161begin
    162162  LocaleCode := Languages[List.ItemIndex].ShortName;
    163   ModalResult := mrCancel;
     163  ModalResult := mrOk;
    164164end;
    165165
Note: See TracChangeset for help on using the changeset viewer.