kicad/common/widgets
Seth Hillbrand 20909d4948 Fix crash when deleting symbol in GTK
So many things can go wrong with this control in GTK.  We have to
collapse the tree when updating the search string to avoid a crash when
referencing a child object but collapsing the tree will iterate over
elements and crash when we have deleted a symbol.

The temporary fix for this nonsense is to carefully order the calls.
We only need to collapse the search tree if we are not keeping our state
(in other words if we are fully re-building the tree)

Fixes https://gitlab.com/kicad/code/kicad/issues/6910

(cherry picked from commit 8af4cf88a0)
2021-01-04 09:38:51 -08:00
..
button_row_panel.cpp Centralise some UI constants, use in hotkey lists 2018-10-04 07:47:21 -04:00
color_swatch.cpp Clean up file locations and names. 2018-09-22 16:23:13 +01:00
footprint_choice.cpp Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
footprint_preview_widget.cpp Layout adjustments to Choose Symbol and Choose Footprint. 2018-08-06 13:48:17 +01:00
footprint_select_widget.cpp Performance enhancements in fp loading, string cmp, etc. 2018-08-01 09:35:46 +01:00
gal_options_panel.cpp A better fix for commit d34433a1. 2019-05-15 18:19:40 -04:00
grid_combobox.cpp Properly dismiss the grid combobox editor when it loses focus 2020-08-06 02:02:32 +01:00
grid_icon_text_helpers.cpp Fix segfaults from not checking index 2019-01-17 10:23:25 -08:00
grid_text_button_helpers.cpp Eeschema: fix corrupted schematic and symbol library files. 2019-05-10 09:16:38 -04:00
indicator_icon.cpp __WXWINDOWS__ does not mean __WXMSW__ 2019-01-09 09:15:32 -05:00
layer_box_selector.cpp Turn problematic code off for now.... 2018-09-22 17:54:59 +01:00
lib_tree.cpp Fix crash when deleting symbol in GTK 2021-01-04 09:38:51 -08:00
lib_tree.h libtree: Update width automatically 2019-02-12 21:56:47 -08:00
mathplot.cpp Simulator: optimize a plot function, to support large amount of points. 2020-07-29 08:55:45 +02:00
net_selector.cpp minor fixes (Coverity warnings and compil warning) 2019-02-17 15:33:20 +01:00
paged_dialog.cpp Add shortcuts to setting dialogs for track widths, via sizes and grid sizes. 2018-11-17 00:35:06 +00:00
progress_reporter.cpp PROGRESS_REPORTER: fix serious bug in its DTOR: the DTOR was calling Destroy. But Destroy() in wxWidgets calls the DTOR. 2019-10-23 11:29:44 +02:00
stepped_slider.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
tab_traversal.cpp Adjust tab ordering in some dialogs 2019-02-23 14:49:38 +00:00
text_ctrl_eval.cpp Improve robustness of numeric evaluation. 2018-10-08 12:59:40 +01:00
two_column_tree_list.cpp Optimize TWO_COLUMN_TREE_LIST column sizing 2017-02-24 12:51:53 -05:00
ui_common.cpp Centralise some UI constants, use in hotkey lists 2018-10-04 07:47:21 -04:00
unit_binder.cpp Replace wxFloatingPointValidator by our UNIT_BINDER in DIALOG_TEXT_PROPERTIES. 2020-12-09 19:45:03 +01:00
widget_hotkey_list.cpp Fix assertion in new Duplicate Hotkey warning message. 2019-08-19 14:24:26 +01:00
widget_save_restore.cpp Break widget save/restore out to reusable class 2019-01-30 15:41:35 -08:00
wx_grid.cpp wxWidgets compatibility fixes 2019-09-06 08:48:03 -04:00
wx_grid.h Remove previous cell selection fixes in favour of slow-click hack. 2019-03-04 11:09:33 +00:00