When hovering over directory while dragging something, the directory will open
This commit is contained in:
parent
b85993c838
commit
ec545cba14
3 changed files with 35 additions and 7 deletions
|
|
@ -110,7 +110,7 @@ void BookmarkManager::setup_list_gui(const std::string& id) {
|
|||
|
||||
for(size_t i = 0; i < objsToInsert.size(); i++) {
|
||||
toEraseMap[objsToInsert[i].parent].emplace(objsToInsert[i].object);
|
||||
if(objsToInsert[i].parent == listObj && listPtr->get(objsToInsert[i].object)->pos <= index)
|
||||
if(newIndex != 0 && objsToInsert[i].parent == listObj && listPtr->get(objsToInsert[i].object)->pos <= index)
|
||||
newIndex--;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue