kicad/pcbnew/widgets
Wayne Stambaugh 66f6168163 Fix mode-less dialog issues.
Don't assume the dialog is mode-less and call Destroy() from within a
dialog method.  This will most assuredly crash if the dialog is shown
modally or quasi-modally.

Don't leak memory for mode-less dialogs created on the stack.  Make sure
when the parent frame window is closed that all mode-less dialog memory
is cleaned up.  Dialogs are not child windows like controls and toolbars
so their memory does not automatically get cleaned up when the parent
window is destroyed.

Do not directly access frame parent window's pointer in dialog destructors.
Apparently the tear down order when destroying mode-less dialogs is not
guaranteed so the parent window may get deleted before the dialog causing
a crash when accessing the parent window pointer from the dialog dtor.

Do not close mode-less dialogs in the parent frame's destructor.  This
doesn't guarantee that the dialog(s) will be destroyed before the parent
but it may reduce some careless mode-less dialog event handling in the
future.
2023-03-13 12:04:01 -04:00
..
appearance_controls.cpp Fix typo in appearance_controls.cpp 2023-02-22 20:35:36 -05:00
appearance_controls.h Code cleanup. 2022-11-06 11:17:54 +00:00
appearance_controls_base.cpp Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
appearance_controls_base.fbp Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
appearance_controls_base.h Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
filedlg_hook_save_project.h Clean up extra control creator logic in pcbnew save file dialog 2022-12-17 23:37:24 +00:00
legacyfiledlg_netlist_options.h Split off the netlist export content helper but it's advancedcfg 2022-06-11 23:09:47 -04:00
legacyfiledlg_save_project.h Split off the netlist export content helper but it's advancedcfg 2022-06-11 23:09:47 -04:00
panel_selection_filter.cpp PCB Editor: Locked filter unchecked by default 2023-01-23 11:36:06 +00:00
panel_selection_filter.h On-the-fly language updating for appearance panel & selection filter. 2022-02-19 14:59:51 +00:00
panel_selection_filter_base.cpp Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
panel_selection_filter_base.fbp Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
panel_selection_filter_base.h Remove board editor standard dialog button static line separators. 2023-01-09 08:49:38 -05:00
pcb_properties_panel.cpp Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
pcb_properties_panel.h Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
pcb_search_pane.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
pcb_search_pane.h ADDED: Search/inspect pane 2022-09-14 02:59:57 +00:00
search_handlers.cpp PCB Search Pane: show Board Setup / Net Classes on net activation 2023-02-18 15:41:26 -05:00
search_handlers.h PCB Search Pane: show Board Setup / Net Classes on net activation 2023-02-18 15:41:26 -05:00