vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Disabled "Collapse" button in "Flat" view

Open AdwaitSalankar opened this issue 1 year ago • 1 comments

Description

Used setEnabled to disable bCollapseAll in flat mode and enabled it in the other modes.

Related Issue

Fixes #1784

How Has This Been Tested?

Wrote tests for the behaviour in test_extract.py and test_diff.py

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] I have read the CONTRIBUTING guide.
  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.

AdwaitSalankar avatar Nov 28 '23 06:11 AdwaitSalankar

@real-yfprojects Can you review this PR?

AdwaitSalankar avatar Nov 28 '23 17:11 AdwaitSalankar

Sorry for the delay @AdwaitSalankar. Glad this fix is merged now!

real-yfprojects avatar Apr 01 '24 14:04 real-yfprojects