mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-24 20:27:22 +01:00
bugfix 2402
This commit is contained in:
parent
12a683f3ed
commit
aeec33f95e
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user