mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 09:35:59 +02:00
qt: set separator flag when we change menu item caption
git-svn-id: trunk@18584 -
This commit is contained in:
parent
cef5fc775d
commit
016698fba4
@ -221,7 +221,10 @@ begin
|
||||
|
||||
Widget := TQtWidget(AMenuItem.Handle);
|
||||
if Widget is TQtMenu then
|
||||
begin
|
||||
TQtMenu(Widget).setSeparator(ACaption = cLineCaption);
|
||||
TQtMenu(Widget).setText(GetUtf8String(ACaption));
|
||||
end;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user