Skip to content

[FIX] listfilter: Bypass QListView.dropEvent#5477

Merged
janezd merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/variable-list-move
Jun 11, 2021
Merged

[FIX] listfilter: Bypass QListView.dropEvent#5477
janezd merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/variable-list-move

Conversation

@ales-erjavec
Copy link
Copy Markdown
Contributor

Issue

Fixes gh-5471

On Qt >= 5.15.2 QListView.dropEvent depends on private state tracking
that is setup in startDrag. Since startDrag is overridden here and does
not dispatch to the base implementation, this causes items loss when
performing internal move.

Description of changes

Bypass QListView.dropEvent

Includes
  • Code changes
  • Tests
  • Documentation

On Qt >= 5.15.2 QListView.dropEvent depends on private state tracking
that is setup in startDrag. Since startDrag is overridden here and does
not dispatch to the base implementation, this causes items loss when
performing internal move.
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 9, 2021

Codecov Report

Merging #5477 (a5a6cc9) into master (0434bc5) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master    #5477   +/-   ##
=======================================
  Coverage   86.35%   86.36%           
=======================================
  Files         304      304           
  Lines       61652    61654    +2     
=======================================
+ Hits        53240    53247    +7     
+ Misses       8412     8407    -5     

@janezd janezd self-assigned this Jun 11, 2021
@janezd janezd merged commit f02f102 into biolab:master Jun 11, 2021
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.

Select Columns disappearing variables

2 participants