Changeset 440 for trunk


Ignore:
Timestamp:
May 18, 2022, 1:55:37 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Use Gtk2Fix in base window before showing modal window.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r438 r440  
    11681168        DraftDlg.ShowNewContent(wmModal);
    11691169        if DraftDlg.ModalResult <> mrOK then
    1170           Tribe[me].ModelPicture[MyRO.nModel].HGr := nil
     1170          Tribe[me].ModelPicture[MyRO.nModel].HGr := nil;
    11711171      end;
    11721172    until (ChosenResearch <> adMilitary) or (DraftDlg.ModalResult = mrOK);
  • trunk/Packages/CevoComponents/BaseWin.pas

    r432 r440  
    206206    Left := UserLeft;
    207207    Top := UserTop;
    208     if FWindowMode = wmModal then
    209       ShowModal
     208    if FWindowMode = wmModal then begin
     209      Gtk2Fix;
     210      ShowModal;
     211    end
    210212    else
    211213      Show;
Note: See TracChangeset for help on using the changeset viewer.