Skip to content

Draft: Fix bug that was causing floating dialogs states to save incorrectly

aadilshabier requested to merge aadilshabier/inkscape:fix-#3027 into master
  • Fixes #3027 (closed) Split out to separate MR
  • Fixes bug where dialogs sharing the same state wouldn't save their states properly to dialog-state-ex.ini when exiting
  • Refactor code by renaming a function and formatting it with the help of clang-format
  • Since floating dialog states are almost always saved and read in a sorted fashion, we can use std::map::emplace_hint to make smarter insertions.
Edited by aadilshabier

Merge request reports