From 0849f7317907d899157f506b235f445b449bcbd6 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Wed, 5 Dec 2012 20:37:37 +0400 Subject: 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 --- svx/source/tbxctrls/tbunosearchcontrollers.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'svx/source') diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index b701740abe60..c4bfc5cd17e9 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? } } -- cgit