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
0001bc28
Commit
0001bc28
authored
10 years ago
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for clarification menu crash (GAL/Windows).
parent
698bd331
teardrops
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
context_menu.cpp
common/tool/context_menu.cpp
+3
-6
No files found.
common/tool/context_menu.cpp
View file @
0001bc28
...
...
@@ -224,20 +224,17 @@ void CONTEXT_MENU::onMenuEvent( wxMenuEvent& aEvent )
#ifdef __WINDOWS__
if
(
!
evt
)
{
// Try to find the submenu which holds the selected item
wxMenu
*
menu
=
NULL
;
wxMenu
*
menu
=
NULL
;
FindItem
(
m_selected
,
&
menu
);
if
(
menu
)
if
(
menu
&&
menu
!=
this
)
{
menu
->
ProcessEvent
(
aEvent
);
return
;
}
assert
(
false
);
// The event should be handled above
}
#e
lse
#e
ndif
evt
=
m_customHandler
(
aEvent
);
#endif
/* else __WINDOWS__ */
// Handling non-action menu entries (e.g. items in clarification list)
if
(
!
evt
)
...
...
This diff is collapsed.
Click to expand it.
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