[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/source

Caolán McNamara caolanm at redhat.com
Tue Jun 19 20:01:00 UTC 2018


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

New commits:
commit 2f448d2ddf00579bb452c3d2e7a5287e8e78ff62
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/56114
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index a8724a863ecd..6d3b79c10079 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -2101,7 +2101,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