summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-21 20:43:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-22 11:53:40 +0100
commitf31d36966bceb90e261cbecd42634bde4448d527 (patch)
treee0f3c9ad7141325cf9f3e1b9bcc1d561309bf0fd
parent334409fbde555a957cd34e295cc27f2c2bf6e194 (diff)
tdf#124513 let wizard reappear on tabbing back to document
where it was showing before tabbing away Change-Id: Ia87aeb9789ae034611431983c6489569a59d47d3 Reviewed-on: https://gerrit.libreoffice.org/83434 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/formdlg/formula.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx
index e68a5c8208dd..877a6a101974 100644
--- a/sc/source/ui/formdlg/formula.cxx
+++ b/sc/source/ui/formdlg/formula.cxx
@@ -287,6 +287,9 @@ ScInputHandler* ScFormulaDlg::GetNextInputHandler(const ScDocShell* pDocShell, S
void ScFormulaDlg::Close()
{
+ if (IsClosing())
+ return;
+
DoEnter();
}