Repository navigation
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2978 +/- ##
==========================================
- Coverage 57.25% 57.21% -0.04%
==========================================
Files 536 536
Lines 62697 62698 +1
Branches 7759 7759
==========================================
- Hits 35897 35875 -22
- Misses 25015 25033 +18
- Partials 1785 1790 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This seems to do the trick, and I think performance isn't a concern here. More than that, it just doesn't quite make sense to me why this works... It looks like the existing update in |
|
Somewhere it's not updating. The reason it works is because |
Bug Fix for Export with notifyDirty on All Slots
Fixes #2906
This PR fixes bug for export by applying
notify dirtyon slots toExportPathSo UI updates correctly when output changes.However, updating all slots this way might cause performance issues, though I haven't observed any yet, expressed my concern and solution in this comment
I used a lambda function here because defining a separate function for this small task didn't seem necessary
However, if using a lambda doesn't look good, we can change it into a separate function, to improve readability or I can also add a comment explaining the approach
What this PR ensures is by using
notifydirtythrough all slots bug is fixed (which is the simplest solution i can think of, if this is not the ideal solution then please ignore this PR)Output on updating it shows updated extension(eg. tiff here) instead of .h5
Checklist