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 14:32:54 +0100
commitebba06b785c87e6a310a523fa9570449d3986cd7 (patch)
tree57a8a00cf31376c6fe81b62af6ca305c39502382
parent1908393e7861f45aea616a192059ccbd9b62b5a4 (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/83462 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 697d407d6f4f..4c4b20e85a31 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();
}