OSDN Git Service

Fix the problem that MDI TabBar icon does not change when completing compare
authorsdottaka <sdottaka@users.sourceforge.net>
Sun, 9 Aug 2015 01:49:01 +0000 (10:49 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Sun, 9 Aug 2015 01:49:01 +0000 (10:49 +0900)
Src/DirView.cpp

index a131586..e181432 100644 (file)
@@ -522,7 +522,7 @@ void CDirView::Redisplay()
        uintptr_t diffpos = ctxt.GetFirstDiffPosition();
        RedisplayChildren(diffpos, 0, cnt, alldiffs);
        if (pDoc->m_diffThread.GetThreadState() == CDiffThread::THREAD_COMPLETED)
-               theApp.SetLastCompareResult(alldiffs);
+               GetParentFrame()->SetLastCompareResult(alldiffs);
        SortColumnsAppropriately();
        SetRedraw(TRUE);
 }