summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-19 15:59:17 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-06-19 21:22:34 +0200
commit43fba4906a5a6b9d3e6674df1c8101b1f141752b (patch)
treee2e4ff87853e6946538f51abe6e5fdb6d198ca6f /sc
parentb28464abc71c28450784f15ce8344da8b316da86 (diff)
Resolves: tdf#118226 yes/no reversed
Change-Id: I60f6f0c13e1971e0000698ce71fbbdd7244fb85d Reviewed-on: https://gerrit.libreoffice.org/56113 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun2.cxx2
1 files changed, 1 insertions, 1 deletions
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 );