diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-12 14:57:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-12 17:56:35 +0200 |
commit | 1663b961ce2f9f109ad7634f165445f9ea785db3 (patch) | |
tree | 6e22184b82e847cb461c9696650abb5b3e297daf /svtools | |
parent | 5c98c6a046ad6dd869f617f116aa110b4ff5cecd (diff) |
check if the "realhandler" is the tracking window
if the tracking window wasn't already found
Change-Id: Iadb42abcba615c1b55165450da6946a6129283ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98599
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 48658e88fc53..72c66b786cc0 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -518,6 +518,8 @@ namespace svt pWin = pWin->GetWindow(GetWindowType::Next)) { } + if (!pWin) + pWin = pRealHandler; } if (pWin && pWin->IsTracking()) pWin->EndTracking(); |