Ignore:
Timestamp:
Nov 28, 2023, 3:16:24 PM (6 months ago)
Author:
chronos
Message:
  • Modified: Do not initialize all local player windows at the start of the game but later when they are really opened. This also fixes window initialization under Qt5 widgetset.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Enhance.pas

    r457 r460  
    55
    66uses
    7   ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType, SysUtils,
     7  ScreenTools, BaseWin, Protocol, ClientTools, LCLIntf, LCLType, SysUtils,
    88  Classes, Graphics, Controls, Forms, IsoEngine, ButtonB, ButtonC, Menus;
    99
     
    4343  end;
    4444
    45 var
    46   EnhanceDlg: TEnhanceDlg;
    47 
    4845
    4946implementation
    5047
    5148uses
    52   Help, KeyBindings;
     49  Help, KeyBindings, Term;
    5350
    5451{$R *.lfm}
     
    382379  ShortCut := KeyToShortCut(Key, Shift);
    383380  if BHelp.Test(ShortCut) then
    384     HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkText,
    385       HelpDlg.TextIndex('MACRO'))
     381    MainScreen.HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkText,
     382      MainScreen.HelpDlg.TextIndex('MACRO'))
    386383end;
    387384
Note: See TracChangeset for help on using the changeset viewer.