Mentions légales du service

Skip to content
Snippets Groups Projects

Fix crash when saving a document that has not used ThymioBlockly

Merged SHERMAN David requested to merge github/fork/cwalther/savecrash into master

Created by: cwalther

currentSavedXml in that case was an empty string, and passing that to document.setContent() apparently left the QDomDocument in an invalid state that would later crash MainWindow::saveFile().

Add some more error checking for good measure, although I am not currently aware of any circumstance where the error still occurs.

May fix #449 (closed).

Merge request reports

Merged by avatar (Jun 5, 2025 7:26am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading