From 3c42ac535a6ff383588e1a76fd20a8ead0af024e Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 14 Oct 2008 21:59:32 +0000 Subject: [PATCH] Fixed bug 2166761 when loading. --- editor/synctracker2.cpp | 1 + 1 file changed, 1 insertion(+) 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);