Merge pull request #114968 from Jordyfel/file-list-focus-draw
Fix right clicking an item in filesystem `ItemList` draws focus
This commit is contained in:
commit
3adb6259aa
1 changed files with 1 additions and 1 deletions
|
|
@ -3694,7 +3694,7 @@ void FileSystemDock::_file_list_item_clicked(int p_item, const Vector2 &p_pos, M
|
|||
if (p_mouse_button_index != MouseButton::RIGHT) {
|
||||
return;
|
||||
}
|
||||
files->grab_focus();
|
||||
files->grab_focus(true);
|
||||
|
||||
// Right click is pressed in the file list.
|
||||
Vector<String> paths;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue