summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-18 13:52:55 +0000
committerAndras Timar <andras.timar@collabora.com>2016-02-22 08:58:20 +0100
commit75b473258d6f06e68af3fd49fc2f168e88934b72 (patch)
tree607e2e7aa0463d3ab648573a152857f5376cc4ad
parent62d1690d23137eb1c9e873211f2c57b797912cda (diff)
fix inverted logic regression
regression from... commit 051b29e1025253f35f87a04e297760aa8b40611f Author: Luboš Luňák <l.lunak@collabora.com> Date: Sun Sep 14 15:45:02 2014 +0200 convert Edit autocomplete Hdl to boost signals2 where the conversion was... - if ( maAutocompleteHdl.IsSet() ) + if ( autocompleteSignal.empty() ) instead of the correct + if ( !autocompleteSignal.empty() ) Reviewed-on: https://gerrit.libreoffice.org/22477 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit e919bfcaa5561445ebf39f73171bf1c934818d1a) Change-Id: Ie87944d66958af595e64b41236bbf515ef7a1f98 Reviewed-on: https://gerrit.libreoffice.org/22478 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit e2aa9b7c8c62338c91a3883b0c400b1259793382)
-rw-r--r--vcl/source/control/edit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 7e04604a5ca5..2a492da57e11 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2114,7 +2114,7 @@ void Edit::Command( const CommandEvent& rCEvt )
Invalidate();
// #i25161# call auto complete handler for ext text commit also
- if ( autocompleteSignal.empty() )
+ if (!autocompleteSignal.empty())
{
if ( (maSelection.Min() == maSelection.Max()) && (maSelection.Min() == maText.getLength()) )
{