From a895f6356159f4267c0ac24781814ae0cbcba0b9 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Fri, 15 Dec 2017 17:58:45 +0530 Subject: lokdialog: Give non-programmatic name to autofilter Change-Id: I8670a5aaa1703677cab173b2341c6e70e689f61a (cherry-picked from 04abf03ecb18ccf1f805faa763d6f29013efc6bb) --- vcl/source/window/floatwin.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/source/window/floatwin.cxx') diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 63ae2172fc60..6377c6c6f853 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -624,6 +624,8 @@ void FloatingWindow::StateChanged( StateChangedType nType ) } aItems.emplace_back("size", GetSizePixel().toString()); aItems.emplace_back("position", mpImplData->maPos.toString()); + if (!GetText().isEmpty()) + aItems.emplace_back("title", GetText().toUtf8()); GetLOKNotifier()->notifyWindow(GetLOKWindowId(), "created", aItems); } else if (!IsVisible() && nType == StateChangedType::Visible) -- cgit