[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 12 20:30:03 UTC 2020


 svx/source/tbxctrls/bulletsnumbering.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit bb9c74189c9d8dd3e4de7efe94b9ba8d158a9133
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jan 12 19:18:47 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jan 12 21:29:24 2020 +0100

    EndPopupMode at end instead of start
    
    Change-Id: I8b5b5957ea6adf2b5b637da41fbe96ce9add03e1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86642
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx
index ba63a41b8838..a05cc7f98f80 100644
--- a/svx/source/tbxctrls/bulletsnumbering.cxx
+++ b/svx/source/tbxctrls/bulletsnumbering.cxx
@@ -147,8 +147,6 @@ void NumberingPopup::statusChanged( const css::frame::FeatureStateEvent& rEvent
 
 IMPL_LINK_NOARG(NumberingPopup, VSSelectValueSetHdl, SvtValueSet*, void)
 {
-    mrController.EndPopupMode();
-
     sal_uInt16 nSelItem = mxValueSet->GetSelectedItemId();
     if ( mePageType == NumberingPageType::BULLET )
     {
@@ -165,6 +163,7 @@ IMPL_LINK_NOARG(NumberingPopup, VSSelectValueSetHdl, SvtValueSet*, void)
         auto aArgs( comphelper::InitPropertySequence( { { "SetOutline", css::uno::makeAny( nSelItem ) } } ) );
         mrController.dispatchCommand( ".uno:SetOutline", aArgs );
     }
+    mrController.EndPopupMode();
 }
 
 void NumberingPopup::GrabFocus()


More information about the Libreoffice-commits mailing list