libedit "discard changes" doesn't properly discard deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If you delete a component in libedit, then close libedit without saving, libedit asks whether to discard changes. If you then click Yes, it doesn't save the library, but it doesn't restore the state in memory either. This means that the part remains deleted until fully restarting kicad, which could easily cause a user to accidentally save the library again later thinking the delete had been reverted and then actually committing it to the file.
Application: kicad
Version: (2017-02-02 revision 1ab1d8e7e)-master, release build
Libraries: wxWidgets 3.0.2
Platform: Linux 4.9.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.63.0
Curl: 7.52.1
KiCad - Compiler: GCC 6.3.1 with C++ ABI 1010
Settings: USE_WX_
Changed in kicad: | |
status: | Fix Committed → Fix Released |
This works correctly in the new library editor (not merged yet).