The HistoryMgr code in CMainFrame::OnFilePreferences() should be moved inside the if( dlg.DoModal...) block.
Log in to post a comment.