Skip to content

Conversation

@FrogTheFrog
Copy link
Contributor

Description

If the user manually switches back to the initial display topology and then reverts the settings, we would switch to the modified topology to undo stuff, but then never switch back to the initial topology matched the current one.

We are now smart enough to actually go "hmm, if current_topology == initial_topology, but then I switch to modified_topology, then current_topology != initial_topology after that! Me thinks thou should switch back'o to the ini_topo!" (yes, I'm losing sanity here)...

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 New issue
1 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codecov
Copy link

codecov bot commented Nov 16, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.34%. Comparing base (cce3206) to head (9cbfc64).
Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
src/windows/settings_manager_revert.cpp 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
- Coverage   94.38%   94.34%   -0.04%     
==========================================
  Files          34       34              
  Lines        2011     2015       +4     
  Branches     1039     1041       +2     
==========================================
+ Hits         1898     1901       +3     
+ Misses         58       51       -7     
- Partials       55       63       +8     
Flag Coverage Δ
Linux 91.21% <ø> (ø)
Windows 94.17% <85.71%> (-0.04%) ⬇️
macOS 75.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/windows/settings_manager_revert.cpp 98.26% <85.71%> (-0.84%) ⬇️

... and 1 file with indirect coverage changes

@ReenigneArcher ReenigneArcher merged commit 5e3cdaa into LizardByte:master Nov 16, 2024
16 of 18 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.

2 participants