summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-20 16:40:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-20 16:43:15 +0100
commit454f5c3018c6d61d5872f7c23c7590c2157444e4 (patch)
treee1b32cb9d572f295014d95922892ba5bd9ca3aa4 /vcl/source/control
parent908d1b6e632922a6fa59385c49828be3c3eeb969 (diff)
Revert "Fix fdo#84795 Menu, DropDown-List not disappears with right mouse click"
This reverts commit 53c836701e22b1babd3702b502facd76236df7ff. because it means that all disabled buttons get their "click" delivered so disabled buttons are only visually disabled. e.g. writer: insert->table->autoformat, click on the disabled "rename" or "add" or "remove" and the sub dialog appears. Or in calc insert->object->chart and click on the disabled "back" -> crash
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/ilstbox.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index ec8eb6bf22ab..228d3b6b0e88 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -3073,10 +3073,7 @@ void ImplListBoxFloatingWindow::StartFloat( bool bStartTracking )
if( pGrandparent->ImplIsAntiparallel() )
pGrandparentOutDev->ReMirror( aRect );
- // mouse-button right: close the List-Box-Float-win and don't stop the handling fdo#84795
- const sal_uLong nFlags = FLOATWIN_POPUPMODE_PATHMOUSECANCELCLICK | FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE;
-
- StartPopupMode( aRect, FLOATWIN_POPUPMODE_DOWN | nFlags );
+ StartPopupMode( aRect, FLOATWIN_POPUPMODE_DOWN );
if( nPos != LISTBOX_ENTRY_NOTFOUND )
mpImplLB->ShowProminentEntry( nPos );