diff options
author | Eike Ziller <[email protected]> | 2022-01-25 15:35:14 +0100 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2022-02-02 08:54:39 +0000 |
commit | 275dcc8f8aae242c2260454543cbaa51508dae0c (patch) | |
tree | e3c4ea7ad7c8812fb8e82670e1441985c6711915 /src/libs/qtcreatorcdbext | |
parent | a4b3085acb90652cc1fa867f8e0832e887f2bbfa (diff) |
File System view: Select root folder when clicking outside item
If the shown items are not filling the whole view, there is some empty
space at the bottom. Select the current root directory when the user
click there.
This avoids funny behavior. Without that change
- select a file or subdirectory in a directory
- collapse the parent directory
- the selected file or subdirectory stays selected, but that is not
visible
- right-click into the empty space at the bottom
- the context menu for the not-visibly selected item is shown
- this is especially weird when e.g. choosing "New Folder"
That is not an issue if the view fills the whole space, because then a
visible item is selected when clicking.
Change-Id: I0c65e091e659c20d7b384e96ecf69c36379ed936
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/libs/qtcreatorcdbext')
0 files changed, 0 insertions, 0 deletions