-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Qt6] Fix AttributeError on renaming layer #5850
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5850 +/- ##
==========================================
+ Coverage 89.96% 89.98% +0.01%
==========================================
Files 615 615
Lines 52638 52647 +9
==========================================
+ Hits 47358 47376 +18
+ Misses 5280 5271 -9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for me in both pyqt6 and pyqt5.
The fix looks correct to me, which can be confirmed reading:
https://doc.qt.io/qtforpython-6/considerations.html#forgiveness-mode-and-type-hints
# Fixes/Closes Closes #5849 # Description This is a pretty simple fix, but is also backward-compatible in my testing with Qt5. I added a test to cover this method for the future. I can look into adding more tests for that file as well. ## Type of change - [x] Bug-fix (non-breaking change which fixes an issue) # How has this been tested? Added a test for this feature that fails without a062d79. This test passes with a062d79 on both Qt5 and Qt6. ## Notes @psobolewskiPhD: > This works for me in both pyqt6 and pyqt5. > The fix looks correct to me, which can be confirmed reading: > doc.qt.io/qtforpython-6/considerations.html#forgiveness-mode-and-type-hints
# Fixes/Closes Closes #5849 # Description This is a pretty simple fix, but is also backward-compatible in my testing with Qt5. I added a test to cover this method for the future. I can look into adding more tests for that file as well. ## Type of change - [x] Bug-fix (non-breaking change which fixes an issue) # How has this been tested? Added a test for this feature that fails without a062d79. This test passes with a062d79 on both Qt5 and Qt6. ## Notes @psobolewskiPhD: > This works for me in both pyqt6 and pyqt5. > The fix looks correct to me, which can be confirmed reading: > doc.qt.io/qtforpython-6/considerations.html#forgiveness-mode-and-type-hints
# Fixes/Closes Closes #5849 # Description This is a pretty simple fix, but is also backward-compatible in my testing with Qt5. I added a test to cover this method for the future. I can look into adding more tests for that file as well. ## Type of change - [x] Bug-fix (non-breaking change which fixes an issue) # How has this been tested? Added a test for this feature that fails without a062d79. This test passes with a062d79 on both Qt5 and Qt6. ## Notes @psobolewskiPhD: > This works for me in both pyqt6 and pyqt5. > The fix looks correct to me, which can be confirmed reading: > doc.qt.io/qtforpython-6/considerations.html#forgiveness-mode-and-type-hints
# Fixes/Closes Closes #5849 # Description This is a pretty simple fix, but is also backward-compatible in my testing with Qt5. I added a test to cover this method for the future. I can look into adding more tests for that file as well. ## Type of change - [x] Bug-fix (non-breaking change which fixes an issue) # How has this been tested? Added a test for this feature that fails without a062d79. This test passes with a062d79 on both Qt5 and Qt6. ## Notes @psobolewskiPhD: > This works for me in both pyqt6 and pyqt5. > The fix looks correct to me, which can be confirmed reading: > doc.qt.io/qtforpython-6/considerations.html#forgiveness-mode-and-type-hints
Fixes/Closes
Closes #5849
Description
This is a pretty simple fix, but is also backward-compatible in my testing with Qt5. I added a test to cover this method for the future. I can look into adding more tests for that file as well.
Type of change
How has this been tested?
Added a test for this feature that fails without a062d79.
This test passes with a062d79 on both Qt5 and Qt6.
Final checklist:
trans.
to make them localizable.For more information see our translations guide.