diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-12-15 17:58:45 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-19 18:57:57 +0100 |
commit | adb2481caa70b28136dd2ef482c031dd19c6ca26 (patch) | |
tree | 198dfcdfb89f899e6cd8db30ebb1747259230fd1 /vcl | |
parent | f4bcc782e7bb232c26749a00f91c586f94e12bbf (diff) |
lokdialog: Give non-programmatic name to autofilter
Change-Id: I8670a5aaa1703677cab173b2341c6e70e689f61a
(cherry-picked from 04abf03ecb18ccf1f805faa763d6f29013efc6bb)
(cherry picked from commit a895f6356159f4267c0ac24781814ae0cbcba0b9)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 55231fe23e67..304fadb40eb9 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) |