X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fbackgroundmgr.cpp;h=58bd9029a428f1acd6684d6b419b09039a26b341;hp=52ee7965cf1fc8f8af3fd3e6f501930f7f94446c;hb=758774f7a87d488faa7412a04d07e4cce140b66c;hpb=d252c3c5784b719fc37f9aad6f657ee3b8ae4900 diff --git a/src/backgroundmgr.cpp b/src/backgroundmgr.cpp index 52ee796..58bd902 100644 --- a/src/backgroundmgr.cpp +++ b/src/backgroundmgr.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: backgroundmgr.cpp,v 1.16 2001/03/11 06:34:37 kevin Exp $ +** $Id: backgroundmgr.cpp,v 1.17 2001/03/11 12:37:34 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -151,9 +151,8 @@ BackgroundManager::OnAddTask (wxCommandEvent& event) resizeWindow(); if (m_iNumTasks == 1) { - theApp->getMainFrame()->SetFocus(); Show(true); - theApp->getMainFrame()->SetFocus(); + theApp->getLog()->SetFocus(); } }