diff options
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 81c0ddb3d32d..f1923c5c1152 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -648,7 +648,10 @@ void FloatingWindow::StateChanged( StateChangedType nType ) // we are a toplevel window, let's so far pretend to be a // dialog - but maybe we'll need a separate type for this // later - aItems.emplace_back("type", "dialog"); + if (mbInPopupMode) + aItems.emplace_back("type", "dropdown"); + else + aItems.emplace_back("type", "dialog"); aItems.emplace_back("position", mpImplData->maLOKTwipsPos.toString()); // twips } else |