summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2024-10-15 20:55:33 -0800
committerJim Raykowski <raykowj@gmail.com>2024-10-16 20:58:11 +0200
commit5cf912b08e4a22f66ab1ec5fa601ba3e50e3c4cc (patch)
tree104b94171cc772d4a5ebcecd1a5e6c82f53ab258 /sw
parentc3c9efc94f737e5f6c42db02b261d8fdb47f3d51 (diff)
Resolves: tdf#163448 An unsaved new document don't allow moving
headings with Content Navigation View option (by drag and drop) Change-Id: Id1f4cbc0538e75abfb2a133d2d6fb82ddaf580fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174986 Reviewed-by: Jim Raykowski <raykowj@gmail.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 331a4b4f308f..828c295d77a0 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1267,6 +1267,8 @@ IMPL_LINK(SwContentTree, DragBeginHdl, bool&, rUnsetDragIcon, bool)
continue;
m_aDndOutlinesSelected.push_back(pOutlineContent->GetOutlinePos());
} while (m_xTreeView->iter_next_sibling(*xEntry) && m_xTreeView->is_selected(*xEntry));
+
+ bDisallow = false;
}
rtl::Reference<TransferDataContainer> xContainer = new TransferDataContainer;