qt: set separator flag when we change menu item caption

git-svn-id: trunk@18584 -
This commit is contained in:
paul 2009-02-05 15:12:57 +00:00
parent cef5fc775d
commit 016698fba4

View File

@ -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;
{------------------------------------------------------------------------------