mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
fix: Dirty projects on load. (#2649)
When a project is loaded it is set to dirty without any changes so that it goes through the steps that patterns with changes go through. The fix uses a different starting step that doesn't set the dirty flags when changing providers or loading projects.
This commit is contained in:
@@ -259,7 +259,6 @@ namespace hex::ui {
|
||||
if (u.m_addedRange.m_start == Invalid || u.m_addedRange.m_end == Invalid)
|
||||
return;
|
||||
}
|
||||
m_textChanged = true;
|
||||
m_scrollToTop = true;
|
||||
if (!m_readOnly && undo) {
|
||||
u.m_after = m_state;
|
||||
|
||||
Reference in New Issue
Block a user