diff --git a/src/gui/set/stats_panel.cpp b/src/gui/set/stats_panel.cpp index f8242e57..7184340d 100644 --- a/src/gui/set/stats_panel.cpp +++ b/src/gui/set/stats_panel.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -337,8 +338,12 @@ void StatsPanel::onChangeSet() { onChange(); } -void StatsPanel::onAction(const Action&, bool undone) { - onChange(); +void StatsPanel::onAction(const Action& action, bool undone) { + TYPE_CASE_(action, ScriptValueEvent) { + // ignore style only stuff + } else { + onChange(); + } } void StatsPanel::initUI (wxToolBar* tb, wxMenuBar* mb) {