summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-02-23 22:20:18 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2017-02-24 01:33:54 +0200
commitfe7c8e4ec1990f33d325d3fcabdce30ef4f74465 (patch)
tree09437d4281c7bd9706d53f566a5e328e63e3e290 /embeddedobj
parent6dc453db7ad693cd960170c35245929ea539ba15 (diff)
Closing popup menu should close the parent toolbox
... if that toolbox is in popup mode (e.g. shapes toolbar dropdowns, or the toolbar overflow floater). Same behavior was introduced for non menu based dropdowns in 81d4fbc0daa54889ccb09e6a3fadff9c70d99448 ("tdf#42029 Use a floating toolbar to show clipped items"), and is similar to what we had already in ToolBox::Select, i.e. when the user made a selection, the floating windows should close. This must be done before executing the menu selection handler, because such handler might execute stuff synchronously (e.g. MenuBarManager::Select), and if it will open a modal dialog, the floating toolbox will stay visible after the dialog shows. Change-Id: Ie93e71fa4dea80ba444aebccacf6adb926a39224
Diffstat (limited to 'embeddedobj')
0 files changed, 0 insertions, 0 deletions