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
4dee08c3
Commit
4dee08c3
authored
Apr 23, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gerbview: bug fix: crash when changing selected language
parent
c89070da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
menubar.cpp
gerbview/menubar.cpp
+3
-3
No files found.
gerbview/menubar.cpp
View file @
4dee08c3
...
@@ -72,9 +72,9 @@ void GERBVIEW_FRAME::ReCreateMenuBar( void )
...
@@ -72,9 +72,9 @@ void GERBVIEW_FRAME::ReCreateMenuBar( void )
// Recent drill files
// Recent drill files
static
wxMenu
*
openRecentDrlMenu
;
static
wxMenu
*
openRecentDrlMenu
;
if
(
openRecentDrlMenu
)
if
(
openRecentDrlMenu
)
wxGetApp
().
m_f
ileHistory
.
RemoveMenu
(
openRecentDrlMenu
);
m_drillF
ileHistory
.
RemoveMenu
(
openRecentDrlMenu
);
openRecentDrlMenu
=
new
wxMenu
();
openRecentDrlMenu
=
new
wxMenu
();
wxGetApp
().
m_f
ileHistory
.
UseMenu
(
openRecentDrlMenu
);
m_drillF
ileHistory
.
UseMenu
(
openRecentDrlMenu
);
m_drillFileHistory
.
AddFilesToMenu
(
);
m_drillFileHistory
.
AddFilesToMenu
(
);
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
fileMenu
,
openRecentDrlMenu
,
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
fileMenu
,
openRecentDrlMenu
,
wxID_ANY
,
wxID_ANY
,
...
...
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