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
b128acfc
Commit
b128acfc
authored
Sep 26, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed: pcbnew crashes when clicking on a zone
parent
afedb361
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
552 additions
and
523 deletions
+552
-523
build_version.h
include/build_version.h
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+538
-518
controle.cpp
pcbnew/controle.cpp
+1
-0
edit.cpp
pcbnew/edit.cpp
+12
-4
No files found.
include/build_version.h
View file @
b128acfc
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
COMMON_GLOBL
wxString
g_BuildVersion
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
#ifdef EDA_BASE
(
wxT
(
"(2007-09-2
2
)"
))
(
wxT
(
"(2007-09-2
6
)"
))
#endif
#endif
;
;
...
...
internat/fr/kicad.mo
View file @
b128acfc
No preview for this file type
internat/fr/kicad.po
View file @
b128acfc
This diff is collapsed.
Click to expand it.
pcbnew/controle.cpp
View file @
b128acfc
...
@@ -233,6 +233,7 @@ BOARD_ITEM* WinEDA_BasePcbFrame::PcbGeneralLocateAndDisplay( int aHotKeyCode )
...
@@ -233,6 +233,7 @@ BOARD_ITEM* WinEDA_BasePcbFrame::PcbGeneralLocateAndDisplay( int aHotKeyCode )
{
{
m_Collector
->
Remove
(
ii
);
m_Collector
->
Remove
(
ii
);
ii
--
;
ii
--
;
limit
=
m_Collector
->
GetCount
();
}
}
else
else
timestampzone
=
item
->
m_TimeStamp
;
timestampzone
=
item
->
m_TimeStamp
;
...
...
pcbnew/edit.cpp
View file @
b128acfc
...
@@ -91,12 +91,16 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
...
@@ -91,12 +91,16 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
}
}
else
else
{
{
DrawStruct
=
PcbGeneralLocateAndDisplay
();
if
(
!
wxGetKeyState
(
WXK_SHIFT
)
&&
!
wxGetKeyState
(
WXK_ALT
)
&&
if
(
DrawStruct
)
!
wxGetKeyState
(
WXK_CONTROL
)
&&
!
wxGetKeyState
(
WXK_TAB
))
SendMessageToEESCHEMA
(
DrawStruct
);
{
DrawStruct
=
PcbGeneralLocateAndDisplay
();
if
(
DrawStruct
)
SendMessageToEESCHEMA
(
DrawStruct
);
}
}
}
}
}
switch
(
m_ID_current_state
)
switch
(
m_ID_current_state
)
{
{
case
ID_MAIN_MENUBAR
:
case
ID_MAIN_MENUBAR
:
...
@@ -321,6 +325,8 @@ void WinEDA_PcbFrame::SendMessageToEESCHEMA( EDA_BaseStruct* objectToSync )
...
@@ -321,6 +325,8 @@ void WinEDA_PcbFrame::SendMessageToEESCHEMA( EDA_BaseStruct* objectToSync )
char
cmd
[
1024
];
char
cmd
[
1024
];
MODULE
*
module
=
NULL
;
MODULE
*
module
=
NULL
;
if
(
objectToSync
==
NULL
)
return
;
if
(
objectToSync
->
Type
()
==
TYPEMODULE
)
if
(
objectToSync
->
Type
()
==
TYPEMODULE
)
module
=
(
MODULE
*
)
objectToSync
;
module
=
(
MODULE
*
)
objectToSync
;
else
if
(
objectToSync
->
Type
()
==
TYPEPAD
)
else
if
(
objectToSync
->
Type
()
==
TYPEPAD
)
...
@@ -1253,6 +1259,8 @@ void WinEDA_PcbFrame::OnLeftDClick( wxDC* DC, const wxPoint& MousePos )
...
@@ -1253,6 +1259,8 @@ void WinEDA_PcbFrame::OnLeftDClick( wxDC* DC, const wxPoint& MousePos )
if
(
(
DrawStruct
==
NULL
)
||
(
DrawStruct
->
m_Flags
!=
0
)
)
if
(
(
DrawStruct
==
NULL
)
||
(
DrawStruct
->
m_Flags
!=
0
)
)
break
;
break
;
SendMessageToEESCHEMA
(
DrawStruct
);
// Element localis�
// Element localis�
SetCurItem
(
DrawStruct
);
SetCurItem
(
DrawStruct
);
...
...
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