diff options
author | Tibby Lickle <tibbylickle@googlemail.com> | 2011-03-10 19:08:18 +0000 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-11 09:59:09 -0500 |
commit | 3f775efc94aca0fa96fc93e1ad9a08322558d370 (patch) | |
tree | b729c1017d4781a2dac00057ff729e8c58d37395 | |
parent | b4b01e62c14d9c0d2f3607b406e9b4c6f007eec8 (diff) |
Disabled auto-complete in Calc filter dialog - fix for bug 34898.
A hyphen character caused auto-complete to kick in, changing the user's choice of conditional operator to "=". This was not changed back if auto-complete option is overridden.
-rw-r--r-- | sc/source/ui/dbgui/filtdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx index 71495f665..a95462a7c 100644 --- a/sc/source/ui/dbgui/filtdlg.cxx +++ b/sc/source/ui/dbgui/filtdlg.cxx @@ -263,6 +263,7 @@ void ScFilterDlg::Init( const SfxItemSet& rArgSet ) aFieldLbArr[i]->SelectEntryPos( nFieldSelPos ); aCondLbArr [i]->SelectEntryPos( nCondPos ); aValueEdArr[i]->SetText( aValStr ); + aValueEdArr[i]->EnableAutocomplete( FALSE ); aValueEdArr[i]->SetModifyHdl( LINK( this, ScFilterDlg, ValModifyHdl ) ); UpdateValueList( static_cast<USHORT>(i+1) ); } |