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
089e99b9
Commit
089e99b9
authored
May 13, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing memory leaks.
parent
9325a9e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
context_menu.cpp
common/tool/context_menu.cpp
+2
-1
No files found.
common/tool/context_menu.cpp
View file @
089e99b9
...
@@ -119,7 +119,8 @@ void CONTEXT_MENU::Add( const TOOL_ACTION& aAction )
...
@@ -119,7 +119,8 @@ void CONTEXT_MENU::Add( const TOOL_ACTION& aAction )
case
MD_SHIFT
:
flags
=
wxACCEL_SHIFT
;
break
;
case
MD_SHIFT
:
flags
=
wxACCEL_SHIFT
;
break
;
}
}
item
->
SetAccel
(
new
wxAcceleratorEntry
(
flags
,
key
,
id
,
item
)
);
wxAcceleratorEntry
accel
(
flags
,
key
,
id
,
item
);
item
->
SetAccel
(
&
accel
);
}
}
m_menu
.
Append
(
item
);
m_menu
.
Append
(
item
);
...
...
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