diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-04 11:28:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-04 13:51:41 +0100 |
commit | c9f5f86e0bd2325f3e105250bc1ad613bc62ceb4 (patch) | |
tree | 09e703e74827d7306ab205213ca825664e9ee139 /vcl | |
parent | da322c86857c4a6bfb2149a9aae056da01cb5879 (diff) |
improve pivot table dnd highlighting
if we're dropping into a treeview that is in list mode then use
GTK_TREE_VIEW_DROP_AFTER instead when GTK_TREE_VIEW_DROP_INTO_OR_AFTER is
suggested.
Change-Id: I446e70a1e10a2e6e50bd7a098c54a91bcfa6abb9
Reviewed-on: https://gerrit.libreoffice.org/81998
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index aec86f2d2f73..54cd3bee15c3 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -9595,7 +9595,7 @@ public: gtkpos == GTK_TREE_VIEW_DROP_INTO_OR_AFTER) { ret = false; - pos = gtkpos; + pos = bAsTree ? gtkpos : GTK_TREE_VIEW_DROP_AFTER; } } |