diff --git a/src/context.hh b/src/context.hh index 03f3efd2..8126c674 100644 --- a/src/context.hh +++ b/src/context.hh @@ -167,7 +167,7 @@ struct Context int& numeric_param() { return m_numeric_param; } private: safe_ptr m_editor; - InputHandler* m_input_handler; + InputHandler* m_input_handler = nullptr; safe_ptr m_ui; Insertion m_last_insert = {InsertMode::Insert, {}};