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
628e5240
Commit
628e5240
authored
Mar 10, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a minor issue in Pcbnew
parent
3e570c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
controle.cpp
pcbnew/controle.cpp
+6
-5
No files found.
pcbnew/controle.cpp
View file @
628e5240
...
@@ -211,15 +211,16 @@ BOARD_ITEM* PCB_BASE_FRAME::PcbGeneralLocateAndDisplay( int aHotKeyCode )
...
@@ -211,15 +211,16 @@ BOARD_ITEM* PCB_BASE_FRAME::PcbGeneralLocateAndDisplay( int aHotKeyCode )
// this menu's handler is void PCB_BASE_FRAME::ProcessItemSelection()
// this menu's handler is void PCB_BASE_FRAME::ProcessItemSelection()
// and it calls SetCurItem() which in turn calls DisplayInfo() on the item.
// and it calls SetCurItem() which in turn calls DisplayInfo() on the item.
DrawPanel
->
m_AbortRequest
=
true
;
// changed in false if an item
DrawPanel
->
m_AbortRequest
=
true
;
// changed in false if an item
is selected
PopupMenu
(
&
itemMenu
);
// m_AbortRequest = false if an item is selected
PopupMenu
(
&
itemMenu
);
DrawPanel
->
MoveCursorToCrossHair
();
DrawPanel
->
MoveCursorToCrossHair
();
// DrawPanel->m_IgnoreMouseEvents = false;
// The function ProcessItemSelection() has set the current item, return it.
// The function ProcessItemSelection() has set the current item, return it.
item
=
GetCurItem
();
if
(
DrawPanel
->
m_AbortRequest
)
// Nothing selected
item
=
NULL
;
else
item
=
GetCurItem
();
}
}
return
item
;
return
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