mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-20 18:11:36 +03:00
Buffer: reset undo data after executing hooks in constructor
This commit is contained in:
parent
a0b75817a5
commit
e39086cd5f
@ -44,6 +44,8 @@ Buffer::Buffer(String name, Type type,
|
||||
m_hook_manager.run_hook("BufOpen", m_name, context);
|
||||
|
||||
m_hook_manager.run_hook("BufCreate", m_name, context);
|
||||
|
||||
reset_undo_data();
|
||||
}
|
||||
|
||||
Buffer::~Buffer()
|
||||
|
Loading…
Reference in New Issue
Block a user