Skip to content
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

Prevent Traceback in BooleanValueDelegate #2415

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

soininen
Copy link
Contributor

@soininen soininen commented Nov 15, 2023

User may enter an unrecognized value to the editor which we now graciously ignore.

Fixes #2414

Checklist before merging

  • Documentation is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black
  • Unit tests pass

User may enter an unrecognized value to the editor which we now
graciously ignore in BooleanValueDelegate.setModelData()

Re #2414
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (065f522) 63.86% compared to head (3f89c48) 63.87%.

Files Patch % Lines
...oolbox/spine_db_editor/widgets/custom_delegates.py 85.71% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           0.8-dev    #2415      +/-   ##
===========================================
+ Coverage    63.86%   63.87%   +0.01%     
===========================================
  Files          195      195              
  Lines        35446    35451       +5     
  Branches      5997     5997              
===========================================
+ Hits         22639    22646       +7     
+ Misses       11613    11610       -3     
- Partials      1194     1195       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soininen soininen merged commit db6522a into 0.8-dev Nov 15, 2023
16 checks passed
@soininen soininen deleted the 2414_fix_boolean_value_delegate branch November 15, 2023 08:35
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