Changeset 101 for trunk/Forms


Ignore:
Timestamp:
May 21, 2024, 12:27:46 PM (6 months ago)
Author:
chronos
Message:
  • Fixed: Wrong directory in RPM spec file.
  • Fixed: Visible menu line on the top of the screen with Gtk2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormMain.pas

    r95 r101  
    145145procedure TFormMain.UpdateInterface;
    146146begin
     147  {$IFDEF LCLQT5}
    147148  MenuItem1.Visible := not FullScreenEnabled;
    148149  MenuItem4.Visible := not FullScreenEnabled;
    149150  MenuItem7.Visible := not FullScreenEnabled;
     151  {$ELSE}
     152  if FullScreenEnabled then Menu := nil
     153    else Menu := MainMenu1;
     154  {$ENDIF}
    150155  {$IFDEF DEBUG}
    151156  StatusBar1.Visible := not FullScreenEnabled;
Note: See TracChangeset for help on using the changeset viewer.