diff --git a/src/GUI/Dialogs/PresetEditor.hpp b/src/GUI/Dialogs/PresetEditor.hpp index b40ed1fa0..a8ed24fc3 100644 --- a/src/GUI/Dialogs/PresetEditor.hpp +++ b/src/GUI/Dialogs/PresetEditor.hpp @@ -53,8 +53,8 @@ public: bool disable_tree_sel_changed_event {false}; void save_preset(); - std::function on_save_preset {}; - std::function on_value_change {}; + std::function on_save_preset {nullptr}; + std::function on_value_change {nullptr}; config_ptr config; void reload_config();