mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 14:57:53 +01:00
Qt: correct debug info when checking handles
git-svn-id: trunk@36500 -
This commit is contained in:
parent
1ad22c447d
commit
5e68dd0ae6
@ -234,7 +234,7 @@ begin
|
||||
WriteLn('[TQtWSMenuItem.SetCaption] Caption: ' + AMenuItem.Caption + ' NewCaption: ', ACaption);
|
||||
{$endif}
|
||||
|
||||
if not WSCheckMenuItem(AMenuItem, 'SetEnable') then
|
||||
if not WSCheckMenuItem(AMenuItem, 'SetCaption') then
|
||||
Exit;
|
||||
|
||||
Widget := TQtWidget(AMenuItem.Handle);
|
||||
@ -262,7 +262,7 @@ begin
|
||||
WriteLn('[TQtWSMenuItem.SetCaption] SetShortCut: ' + AMenuItem.Caption);
|
||||
{$endif}
|
||||
|
||||
if not WSCheckMenuItem(AMenuItem, 'SetEnable') then
|
||||
if not WSCheckMenuItem(AMenuItem, 'SetShortCut') then
|
||||
Exit;
|
||||
|
||||
Widget := TQtWidget(AMenuItem.Handle);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user