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
0879b457
Commit
0879b457
authored
Feb 17, 2015
by
Tomasz Włostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo should work on pads too (GAL view)
parent
a3cf2948
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
board_undo_redo.cpp
pcbnew/board_undo_redo.cpp
+1
-1
No files found.
pcbnew/board_undo_redo.cpp
View file @
0879b457
...
@@ -387,7 +387,7 @@ void PCB_EDIT_FRAME::SaveCopyInUndoList( const PICKED_ITEMS_LIST& aItemsList,
...
@@ -387,7 +387,7 @@ void PCB_EDIT_FRAME::SaveCopyInUndoList( const PICKED_ITEMS_LIST& aItemsList,
BOARD_ITEM
*
item
=
(
BOARD_ITEM
*
)
commandToUndo
->
GetPickedItem
(
ii
);
BOARD_ITEM
*
item
=
(
BOARD_ITEM
*
)
commandToUndo
->
GetPickedItem
(
ii
);
// For texts belonging to modules, we need to save state of the parent module
// For texts belonging to modules, we need to save state of the parent module
if
(
item
->
Type
()
==
PCB_MODULE_TEXT_T
)
if
(
item
->
Type
()
==
PCB_MODULE_TEXT_T
||
item
->
Type
()
==
PCB_PAD_T
)
{
{
item
=
item
->
GetParent
();
item
=
item
->
GetParent
();
wxASSERT
(
item
->
Type
()
==
PCB_MODULE_T
);
wxASSERT
(
item
->
Type
()
==
PCB_MODULE_T
);
...
...
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