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

Fix bookmarks manager model signals emitted twice #56498

Merged

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Feb 23, 2024

rows inserted/added was fired twice (once by the manager and once by the model), confusing the proxy model.

Also count was wrong by 1 in beginInsertRows( parent, oldCount, oldCount + count ) and beginRemoveRows, but now these two calls have been removed completely.

Fix #56493

rows inserted/added was fired twice (once by the manager and once by the
model), confusing the proxy model.

Also count was wrong by 1 in beginInsertRows( parent, oldCount, oldCount + count )
and beginRemoveRows, but now these two calls have been removed completely.

Fix qgis#56493
@elpaso elpaso added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 23, 2024
@github-actions github-actions bot added this to the 3.38.0 milestone Feb 23, 2024
Copy link

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit cfa290f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport queued_ltr_backports Queued Backports Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spatial Bookmark Manager crash
3 participants