diff --git a/editor/synctracker2.cpp b/editor/synctracker2.cpp index 31caf0e..35afc10 100644 --- a/editor/synctracker2.cpp +++ b/editor/synctracker2.cpp @@ -184,6 +184,7 @@ void loadDocument(const std::string &_fileName) document.clearUndoStack(); document.clearRedoStack(); + SendMessage(hwnd, WM_CURRVALDIRTY, 0, 0); InvalidateRect(trackViewWin, NULL, FALSE); } else MessageBox(hwnd, _T("failed to open file"), mainWindowTitle, MB_OK | MB_ICONERROR | MB_SETFOREGROUND);