summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-12-05 20:37:37 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-12-05 20:51:12 +0400
commitbb6186eb6be2d7161f61dd86678c1cdc1dac0831 (patch)
tree3250982f0382d0397ae955f01b468fea25f4e0e2 /svx
parent76c921de48ee41716b5a500b892945c704da73c7 (diff)
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 (cherry picked from commit 0849f7317907d899157f506b235f445b449bcbd6)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx1
1 files changed, 1 insertions, 0 deletions
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?
}
}