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

New commits:
commit 43fba4906a5a6b9d3e6674df1c8101b1f141752b
Author: Caolán McNamara <caol...@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 <serval2...@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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to