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
d98a5c4e
Commit
d98a5c4e
authored
Jul 09, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unconditionally initialize the Tool Framework in FOOTPRINT_EDIT_FRAME.
parent
953f71df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
21 deletions
+18
-21
moduleframe.cpp
pcbnew/moduleframe.cpp
+18
-21
No files found.
pcbnew/moduleframe.cpp
View file @
d98a5c4e
...
...
@@ -263,8 +263,6 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
m_auimgr
.
AddPane
(
m_messagePanel
,
wxAuiPaneInfo
(
mesg_pane
).
Name
(
wxT
(
"MsgPanel"
)
).
Bottom
().
Layer
(
10
)
);
if
(
drawFrame
->
IsGalCanvasActive
()
)
{
// Create the manager and dispatcher & route draw panel events to the dispatcher
m_toolManager
=
new
TOOL_MANAGER
;
m_toolManager
->
SetEnvironment
(
GetBoard
(),
drawPanel
->
GetView
(),
...
...
@@ -282,8 +280,7 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
// Run the selection tool, it is supposed to be always active
m_toolManager
->
InvokeTool
(
"pcbnew.InteractiveSelection"
);
UseGalCanvas
(
true
);
}
UseGalCanvas
(
drawFrame
->
IsGalCanvasActive
()
);
m_Layers
->
ReFill
();
m_Layers
->
ReFillRender
();
...
...
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