[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Tue Jun 19 19:22:57 UTC 2018


 sc/source/ui/view/viewfun2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 43fba4906a5a6b9d3e6674df1c8101b1f141752b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jun 19 15:59:17 2018 +0100

    Resolves: tdf#118226 yes/no reversed
    
    Change-Id: I60f6f0c13e1971e0000698ce71fbbdd7244fb85d
    Reviewed-on: https://gerrit.libreoffice.org/56113
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 1594c8416752..52ffead4d2b3 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -2099,7 +2099,7 @@ void ScViewFunc::Solve( const ScSolveParam& rParam )
                                                   VclMessageType::Question, VclButtonsType::YesNo, aMsgStr));
         xBox->set_title(ScResId(STR_MSSG_DOSUBTOTALS_0));
         xBox->set_default_response(RET_NO);
-        if (xBox->run() == RET_NO)
+        if (xBox->run() == RET_YES)
             EnterValue( nDestCol, nDestRow, nDestTab, nSolveResult );
 
         GetViewData().GetViewShell()->UpdateInputHandler( true );


More information about the Libreoffice-commits mailing list