kicad/common/widgets
John Beard f591f8741a Prevent segfault when undoing or resetting non-hotkey rows
This is caused by:

* Not checking the hotkey data is not null when performing a
  hotkey action
* Allowing hotkey actions on non-hotkey rows.

This fixes both of these, and adds an assert to warn if someone
does manage to fire a hotkey action on a non-hotkey row (but it
won't crash).

This is a ported version of commit 704615721 on the master branch.

Fixes: lp:1794756
* https://bugs.launchpad.net/kicad/+bug/1794756
2018-09-28 10:20:53 -04:00
..
color4Dpickerdlg.cpp Minor fix: Fix a incorrect min size of COLOR4D_PICKER_DLG on Linux+KDE 2017-10-04 16:35:57 +02:00
color4Dpickerdlg.h color4Dpickerdlg.cpp: avoid selecting accidentally a new color when the mouse cursor is inside a color map when opening the dialog 2017-08-12 07:52:15 +02:00
color4Dpickerdlg_base.cpp Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color4Dpickerdlg_base.fbp Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color4Dpickerdlg_base.h Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color_swatch.cpp Fix display issues in Layers list in Keepout Zone Properties. 2018-05-04 23:55:03 +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 Refactor FOOTPRINT_PREVIEW_PANEL 2017-03-10 23:26:45 -05:00
footprint_select_widget.cpp Remove background fp loading from Choose Symbol dlg. 2018-06-09 00:51:39 +01:00
gal_options_panel.cpp New menu structure for ModEdit. 2018-02-20 10:49:41 -05:00
indicator_icon.cpp Add inc/dec current layer alpha to menus. 2018-02-22 17:48:14 +01:00
mathplot.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
progress_reporter.cpp Async hardening 2018-06-04 15:08:40 -07:00
stepped_slider.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
text_ctrl_eval.cpp Fix SetValue() method in TEXT_CTRL_EVAL 2018-02-27 12:47:43 +01:00
two_column_tree_list.cpp Optimize TWO_COLUMN_TREE_LIST column sizing 2017-02-24 12:51:53 -05:00
unit_binder.cpp Renamed WX_UNIT_BINDER to UNIT_BINDER and moved to common/widgets 2017-11-24 21:15:40 +01:00
widget_hotkey_list.cpp Prevent segfault when undoing or resetting non-hotkey rows 2018-09-28 10:20:53 -04:00
widget_net_selector.cpp fix code after renaming files 2018-01-30 15:34:09 +01:00