From 19da4a189ab029b9bf0da29396d37333ab954a8b Mon Sep 17 00:00:00 2001 From: eidheim Date: Sun, 10 Apr 2016 13:24:35 +0200 Subject: [PATCH] Hide entry box on drag and drop to avoid complexity when for instance moving files while rename box is shown --- src/directories.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/directories.cc b/src/directories.cc index 2a9d288..a8f0155 100644 --- a/src/directories.cc +++ b/src/directories.cc @@ -30,6 +30,8 @@ bool Directories::TreeStore::row_drop_possible_vfunc(const Gtk::TreeModel::Path } bool Directories::TreeStore::drag_data_received_vfunc(const TreeModel::Path &path, const Gtk::SelectionData &selection_data) { + EntryBox::get().hide(); + auto &directories=Directories::get(); auto get_target_folder=[this, &directories](const TreeModel::Path &path) {