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
9afa8926
Commit
9afa8926
authored
Oct 25, 2010
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: fix slowly module change at ratsnest invisible
parent
8fc11e3b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
modules.cpp
pcbnew/modules.cpp
+4
-2
xchgmod.cpp
pcbnew/xchgmod.cpp
+6
-3
No files found.
pcbnew/modules.cpp
View file @
9afa8926
...
...
@@ -325,6 +325,7 @@ bool WinEDA_PcbFrame::Delete_Module( MODULE* module,
module
->
SetState
(
DELETED
,
ON
);
SaveCopyInUndoList
(
module
,
UR_DELETED
);
if
(
DC
&&
GetBoard
()
->
IsElementVisible
(
RATSNEST_VISIBLE
)
)
Compile_Ratsnest
(
DC
,
true
);
// Redraw the full screen to ensure perfect display of board and ratsnest.
...
...
@@ -393,6 +394,7 @@ void WinEDA_PcbFrame::Change_Side_Module( MODULE* Module, wxDC* DC )
if
(
DC
)
{
Module
->
Draw
(
DrawPanel
,
DC
,
GR_OR
);
if
(
GetBoard
()
->
IsElementVisible
(
RATSNEST_VISIBLE
)
)
Compile_Ratsnest
(
DC
,
true
);
}
}
...
...
pcbnew/xchgmod.cpp
View file @
9afa8926
...
...
@@ -244,6 +244,7 @@ void DIALOG_EXCHANGE_MODULE::Change_Module()
if
(
Change_1_Module
(
m_CurrentModule
,
newmodulename
,
&
pickList
,
true
)
)
{
if
(
m_Parent
->
GetBoard
()
->
IsElementVisible
(
RATSNEST_VISIBLE
)
)
m_Parent
->
Compile_Ratsnest
(
NULL
,
true
);
m_Parent
->
DrawPanel
->
Refresh
();
}
...
...
@@ -325,6 +326,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue )
if
(
change
)
{
if
(
m_Parent
->
GetBoard
()
->
IsElementVisible
(
RATSNEST_VISIBLE
)
)
m_Parent
->
Compile_Ratsnest
(
NULL
,
true
);
m_Parent
->
DrawPanel
->
Refresh
();
}
...
...
@@ -374,6 +376,7 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleAll()
if
(
change
)
{
if
(
m_Parent
->
GetBoard
()
->
IsElementVisible
(
RATSNEST_VISIBLE
)
)
m_Parent
->
Compile_Ratsnest
(
NULL
,
true
);
m_Parent
->
DrawPanel
->
Refresh
();
}
...
...
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