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
59f25e7f
Commit
59f25e7f
authored
Sep 15, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs 639774 and 639586
parent
e66a007e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
dialog_print_using_printer.cpp
eeschema/dialog_print_using_printer.cpp
+1
-1
edit.cpp
pcbnew/edit.cpp
+6
-5
No files found.
eeschema/dialog_print_using_printer.cpp
View file @
59f25e7f
...
...
@@ -323,7 +323,6 @@ bool SCH_PRINTOUT::OnBeginDocument( int startPage, int endPage )
#ifdef __WXDEBUG__
WinEDA_SchematicFrame
*
parent
=
m_Parent
->
GetParent
();
#endif
wxLogDebug
(
wxT
(
"Printer name: "
)
+
parent
->
GetPageSetupData
().
GetPrintData
().
GetPrinterName
()
);
wxLogDebug
(
wxT
(
"Paper ID: %d"
),
...
...
@@ -335,6 +334,7 @@ bool SCH_PRINTOUT::OnBeginDocument( int startPage, int endPage )
parent
->
GetPageSetupData
().
GetPrintData
().
GetOrientation
()
);
wxLogDebug
(
wxT
(
"Quality: %d"
),
parent
->
GetPageSetupData
().
GetPrintData
().
GetQuality
()
);
#endif
return
true
;
}
...
...
pcbnew/edit.cpp
View file @
59f25e7f
...
...
@@ -603,6 +603,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
g_Drag_Pistes_On
=
true
;
case
ID_POPUP_PCB_MOVE_MODULE_REQUEST
:
if
(
GetCurItem
()
==
NULL
)
break
;
// If the current Item is a pad, text module ...: Get its parent
if
(
GetCurItem
()
->
Type
()
!=
TYPE_MODULE
)
SetCurItem
(
GetCurItem
()
->
GetParent
()
);
...
...
@@ -628,6 +630,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
case
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST
:
/* get module by name and move it */
SetCurItem
(
GetModuleByName
()
);
module
=
(
MODULE
*
)
GetCurItem
();
if
(
module
==
NULL
)
break
;
if
(
module
->
IsLocked
()
)
{
wxString
msg
;
...
...
@@ -636,11 +640,8 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
DisplayInfoMessage
(
this
,
msg
);
break
;
}
if
(
GetCurItem
()
)
{
DrawPanel
->
MouseToCursorSchema
();
StartMove_Module
(
(
MODULE
*
)
GetCurItem
(),
&
dc
);
}
DrawPanel
->
MouseToCursorSchema
();
StartMove_Module
(
module
,
&
dc
);
break
;
case
ID_POPUP_PCB_DELETE_MODULE
:
...
...
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