Fix of GCodeViewer crashes when opening app preferences #7430

This commit is contained in:
Vojtech Bubnik 2021-12-06 08:23:19 +01:00
parent bfce4f6901
commit d4d558ebee
2 changed files with 20 additions and 12 deletions

View file

@ -6,6 +6,7 @@
#include <wx/dialog.h>
#include <wx/timer.h>
#include <vector>
#include <map>
class wxColourPickerCtrl;
@ -61,6 +62,7 @@ protected:
void create_settings_mode_widget();
void create_settings_text_color_widget();
void init_highlighter(const t_config_option_key& opt_key);
std::vector<ConfigOptionsGroup*> optgroups();
struct PreferencesHighlighter
{