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:
paxcut
2026-02-09 20:21:51 -07:00
committed by GitHub
parent a5008722aa
commit 800a24b42e
5 changed files with 23 additions and 42 deletions

View File

@@ -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;