mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-20 03:19:25 +02:00
Qt: set empty text for menuitem which is separator. fixes #16871
git-svn-id: trunk@26536 -
This commit is contained in:
parent
d0a7a15d11
commit
e489b279cb
@ -241,7 +241,10 @@ begin
|
||||
if Widget is TQtMenu then
|
||||
begin
|
||||
TQtMenu(Widget).setSeparator(ACaption = cLineCaption);
|
||||
TQtMenu(Widget).setText(GetUtf8String(ACaption));
|
||||
if ACaption = cLineCaption then
|
||||
TQtMenu(Widget).setText('')
|
||||
else
|
||||
TQtMenu(Widget).setText(GetUtf8String(ACaption));
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user