summaryrefslogtreecommitdiff
path: root/vcl/source/window/floatwin.cxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-12-15 17:58:45 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-12-15 18:07:34 +0530
commita895f6356159f4267c0ac24781814ae0cbcba0b9 (patch)
treea692f48fe2eb9ad1bfa8b143a94cee77339497d3 /vcl/source/window/floatwin.cxx
parent41f4fee00f1cddbf93f7d0ff732b1b41f8d13955 (diff)
lokdialog: Give non-programmatic name to autofilter
Change-Id: I8670a5aaa1703677cab173b2341c6e70e689f61a (cherry-picked from 04abf03ecb18ccf1f805faa763d6f29013efc6bb)
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-rw-r--r--vcl/source/window/floatwin.cxx2
1 files changed, 2 insertions, 0 deletions
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)