minor changes
This commit is contained in:
parent
41a6a002f5
commit
8be3abc1c0
|
@ -12,8 +12,8 @@ may choose to document this corresponding work in the CHANGELOG.txt file.
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KICAD, a free EDA CAD application.
|
* This program source code file is part of KICAD, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 1992-2009 Jean-Pierre Charras, jean-pierre.charras@gipsa-lab.inpg.fr
|
* Copyright (C) 1992-2010 <author>
|
||||||
* Copyright (C) 1992-2009 Kicad Developers, see change_log.txt for contributors.
|
* Copyright (C) 1992-2010 Kicad Developers, see change_log.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include <pyhandler.h>
|
#include <pyhandler.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/wupdlock.h>
|
|
||||||
#include "fctsys.h"
|
#include "fctsys.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "confirm.h"
|
#include "confirm.h"
|
||||||
|
@ -860,10 +859,6 @@ void TREE_PROJECT_FRAME::ReCreateTreePrj()
|
||||||
else
|
else
|
||||||
m_TreeProject->DeleteAllItems();
|
m_TreeProject->DeleteAllItems();
|
||||||
|
|
||||||
// Do not update the frame while building the project tree
|
|
||||||
// This can take a while if there is a lot of files and directories in CWD
|
|
||||||
wxWindowUpdateLocker noUpdateTree( this );
|
|
||||||
|
|
||||||
if( !m_Parent->m_ProjectFileName.IsOk() )
|
if( !m_Parent->m_ProjectFileName.IsOk() )
|
||||||
{
|
{
|
||||||
fn.Clear();
|
fn.Clear();
|
||||||
|
|
Loading…
Reference in New Issue