Buffer loses the 'New' flag when written
This commit is contained in:
parent
d4f155cae7
commit
9531fd5915
|
@ -405,6 +405,7 @@ void Buffer::notify_saved()
|
||||||
begin_undo_group();
|
begin_undo_group();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_flags &= ~Flags::New;
|
||||||
size_t history_cursor_index = m_history_cursor - m_history.begin();
|
size_t history_cursor_index = m_history_cursor - m_history.begin();
|
||||||
if (m_last_save_undo_index != history_cursor_index)
|
if (m_last_save_undo_index != history_cursor_index)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user