-
Notifications
You must be signed in to change notification settings - Fork 179
Closed
Labels
good first issueSimple change to start learning code baseSimple change to start learning code base
Description
The "Collapse" button doesn't do anything when "Flat" view is selected. Could be disabled in such cases
Originally posted by @m3nu in #1749 (comment)
This is a very minor FR, probably a few lines or so but I wanted to keep it seperate from original PR. I'll submit a PR in a while but please feel free to pick this up if anyone is interested.
Instructions
- Have a look at
vorta/src/vorta/views/diff_result.py
Line 183 in 567a354
def change_display_mode(self, selection: int): - Use
setEnabledto disablebCollapseAllin flat mode and enable it in the other modes. - Write a test for that behaviour in https://github.com/borgbase/vorta/blob/e85ec38c65f838a1c42dc3d5afdcb3dccb9802f4/tests/unit/test_diff.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueSimple change to start learning code baseSimple change to start learning code base