| commit | a4055b5317e42773e8510422826737462290f42f | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Jun 10 11:58:41 2020 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Wed Jun 10 21:41:12 2020 +0200 |
| tree | 03b2845e154711ebf5faeeb7115e9f9eda1744e1 | |
| parent | cb392730620cc13c41c739aa5222a423661a1147 [diff] |
tdf#132845 discard pending page change if user clicks in document Change-Id: Icce91c9afac143190dc5c7d823d745dc2434c1a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95988 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 997ca0d..0e3af56 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx
@@ -405,6 +405,10 @@ bool SwNavigationPI::EditAction() if (m_aPageChgIdle.IsActive()) m_aPageChgIdle.Stop(); // if the user has clicked into the document, forget about changing the page if (pView->GetEditWin().HasFocus()) return false; SwWrtShell &rSh = m_pCreateView->GetWrtShell(); sal_uInt16 nNewPage = m_xEdit->get_value();