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("BufOpen", m_name, context);
|
||||||
|
|
||||||
m_hook_manager.run_hook("BufCreate", m_name, context);
|
m_hook_manager.run_hook("BufCreate", m_name, context);
|
||||||
|
|
||||||
|
reset_undo_data();
|
||||||
}
|
}
|
||||||
|
|
||||||
Buffer::~Buffer()
|
Buffer::~Buffer()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user