diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 12:37:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 12:37:05 +0100 |
commit | 624ff6633c40ab678573a7a38fa3c83c41e0af17 (patch) | |
tree | 210bb4624ea8790d4c5a8b7293636383c30b979f /sfx2 | |
parent | b1271fc9baecc5098b9308fb26868bf3637a6293 (diff) |
only draw menubutton separator when two sides do something different
Change-Id: If6e3b72eacef2325f9f30770bbed32c627bc035c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 5ba36412e997..15fa22588712 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -263,7 +263,9 @@ void BackingWindow::initControls() mpLocalView->Hide(); mpTemplateButton->SetDelayMenu(true); + mpTemplateButton->SetDropDown(PushButtonDropdownStyle::SplitMenuButton); mpRecentButton->SetDelayMenu(true); + mpRecentButton->SetDropDown(PushButtonDropdownStyle::SplitMenuButton); //set handlers mpLocalView->setCreateContextMenuHdl(LINK(this, BackingWindow, CreateContextMenuHdl)); |