[Libreoffice-commits] .: svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 08:50:45 PST 2012


 svx/source/tbxctrls/tbunosearchcontrollers.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0849f7317907d899157f506b235f445b449bcbd6
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Wed Dec 5 20:37:37 2012 +0400

    findbar: show up/down buttons when searching for selected text
    
    1. Type and select some text in Writer
    2. Ctrl+F
    Result: the text appears in the combobox, but the up/down buttons are still
    disabled.
    
    Change-Id: I9cd9f0bad52967a9934577c9bb743085b108fa94

diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index b701740..c4bfc5c 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -120,6 +120,7 @@ void FindTextFieldControl::SetTextToSelected_Impl()
     if ( aString.getLength() != 0 )
     {
         SetText( aString );
+        GetModifyHdl().Call(this); // FIXME why SetText doesn't trigger this?
     }
 }
 


More information about the Libreoffice-commits mailing list