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
b95ab355
Commit
b95ab355
authored
Nov 24, 2012
by
marco.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX: Fixes Crash when adding text on pcbnew (bug #891347)
parent
cbb28977
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dialog_pcb_text_properties.cpp
pcbnew/dialogs/dialog_pcb_text_properties.cpp
+6
-0
No files found.
pcbnew/dialogs/dialog_pcb_text_properties.cpp
View file @
b95ab355
...
...
@@ -95,7 +95,13 @@ DIALOG_PCB_TEXT_PROPERTIES::DIALOG_PCB_TEXT_PROPERTIES( PCB_EDIT_FRAME* parent,
void
PCB_EDIT_FRAME
::
InstallTextPCBOptionsFrame
(
TEXTE_PCB
*
TextPCB
,
wxDC
*
DC
)
{
m_canvas
->
SetIgnoreMouseEvents
(
true
);
#ifndef __WXMAC__
DIALOG_PCB_TEXT_PROPERTIES
dlg
(
this
,
TextPCB
,
DC
);
#else
// Avoid "writes" in the dialog, creates errors with WxOverlay and NSView
// Raising an Exception - Fixes #891347
DIALOG_PCB_TEXT_PROPERTIES
dlg
(
this
,
TextPCB
,
NULL
);
#endif
dlg
.
ShowModal
();
m_canvas
->
MoveCursorToCrossHair
();
m_canvas
->
SetIgnoreMouseEvents
(
false
);
...
...
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