Browse Source
Fix project lock both working and not working.
Fix project lock both working and not working.
Turns out project locks would get created and only stick around for a short duration as the default move constructor was letting the og object free the lock. But if you crashed kicad or managed something weird, you can get a lock file with no override prompt which also creates confusion as some stuff gets set read only. So lets just fix this up. - Implement move constructor on lockfile so that the old object will no longer free the lockfile - Move lock ownership to the project itself, just slightly less weird to handle for the lock override - Implement the override lock promptpull/18/head
committed by
Marek Roszko
6 changed files with 80 additions and 15 deletions
-
14common/project.cpp
-
9common/settings/settings_manager.cpp
-
14include/lockfile.h
-
16include/project.h
-
3include/settings/settings_manager.h
-
39kicad/kicad_manager_frame.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue