Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
cf752a58
Commit
cf752a58
authored
Apr 08, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed in modedit: save module not working
parent
e719b42e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modedit.cpp
pcbnew/modedit.cpp
+4
-2
No files found.
pcbnew/modedit.cpp
View file @
cf752a58
...
...
@@ -7,6 +7,7 @@
#endif
#include "fctsys.h"
#include "appl_wxstruct.h"
#include "class_drawpanel.h"
#include "confirm.h"
#include "gestfich.h"
...
...
@@ -231,8 +232,9 @@ void WinEDA_ModuleEditFrame::Process_Special_Functions( wxCommandEvent& event )
case
ID_MODEDIT_SAVE_LIBMODULE
:
{
wxFileName
fn
;
fn
=
wxFileName
(
g_RealLibDirBuffer
,
m_CurrentLib
,
ModuleFileExtension
);
Save_Module_In_Library
(
fn
.
GetFullPath
(),
GetBoard
()
->
m_Modules
,
fn
=
wxFileName
(
wxEmptyString
,
m_CurrentLib
,
ModuleFileExtension
);
wxString
full_filename
=
wxGetApp
().
GetLibraryPathList
().
FindValidPath
(
fn
.
GetFullName
()
);
Save_Module_In_Library
(
full_filename
,
GetBoard
()
->
m_Modules
,
true
,
true
,
true
);
GetScreen
()
->
ClrModify
();
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment