Skip to content

Conversation

@m3nu
Copy link
Contributor

@m3nu m3nu commented Jan 23, 2026

Summary

When users type a path in the Sources tab file dialog path bar and click "Add" without selecting anything in the tree, nothing happens. This is because the path bar was only used for navigation - users had to click items in the tree to select them, with no UI indication of this.

This PR modifies selected_paths() in filedialog.py to fall back to the path bar text when no tree items are selected, allowing users to directly add a path by typing it.

Test plan

  • Open Vorta → Sources tab → Add
  • Type a valid folder path in the path bar (e.g., /tmp)
  • Click "Add" without selecting anything in the tree
  • Verify path appears in sources list
  • Verify existing behavior still works: select items in tree → click Add → paths are added

When users type a path in the file dialog path bar and click Add without
selecting anything in the tree, the path bar text is now used as the
selection. Previously, the path bar only navigated the tree view and
users had to click items in the tree to select them.
@m3nu m3nu force-pushed the fix-manual-path-entry branch from 32682b8 to 59784b5 Compare January 23, 2026 10:26
@m3nu m3nu merged commit 5057612 into borgbase:master Jan 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Addong source folder via manual path input does not work

1 participant