1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 20:27:22 +01:00

bugfix 2402

This commit is contained in:
2008-04-21 07:58:41 +00:00
parent 12a683f3ed
commit aeec33f95e

View File

@ -343,13 +343,23 @@ void FWWindow::fileOpen()
{
std::auto_ptr<ProjectPanel> proj(newProjectPanel());
if (proj->fileOpen())
{
if (activeProject()->getRCS()==NULL)
{
m_space->currentSubWindow()->hide();
}
{
if (activeProject()->getRCS()!=NULL)
{
if (activeProject()->getRCS()->getFileName()=="")
{
m_space->currentSubWindow()->hide();
}
}
else
{
m_space->currentSubWindow()->hide();
}
showSub(proj.release());
}
}
}
void FWWindow::fileClose()