pymmcore-plus / pymmcore-widgets

A set of Qt-based widgets onto the pymmcore-plus model
https://pymmcore-plus.github.io/pymmcore-widgets
Other
12 stars 7 forks source link

feat: reload prior config file on HCW rejection #359

Closed gselzer closed 2 months ago

gselzer commented 2 months ago

Often, I've found myself accidentally launching the Hardware Configuration Wizard. When I cancel (reject) the wizard, my configuration is unloaded. See gselzer/pymmcore-plus-sandbox#29 for more discussion.

This PR remedies the situation by reloading the last used configuration on rejection.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.89%. Comparing base (3c63ba5) to head (0c177b8). Report is 9 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #359 +/- ## ========================================== + Coverage 90.83% 90.89% +0.06% ========================================== Files 77 77 Lines 8938 8943 +5 ========================================== + Hits 8119 8129 +10 + Misses 819 814 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.