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
f0499779
Commit
f0499779
authored
May 14, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed freezing of GAL canvas if user chooses Cancel in the on close dialog..
parent
0d9373ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pcbframe.cpp
pcbnew/pcbframe.cpp
+2
-1
No files found.
pcbnew/pcbframe.cpp
View file @
f0499779
...
@@ -591,7 +591,6 @@ void PCB_EDIT_FRAME::OnQuit( wxCommandEvent& event )
...
@@ -591,7 +591,6 @@ void PCB_EDIT_FRAME::OnQuit( wxCommandEvent& event )
void
PCB_EDIT_FRAME
::
OnCloseWindow
(
wxCloseEvent
&
Event
)
void
PCB_EDIT_FRAME
::
OnCloseWindow
(
wxCloseEvent
&
Event
)
{
{
m_canvas
->
SetAbortRequest
(
true
);
m_canvas
->
SetAbortRequest
(
true
);
GetGalCanvas
()
->
StopDrawing
();
if
(
GetScreen
()
->
IsModify
()
)
if
(
GetScreen
()
->
IsModify
()
)
{
{
...
@@ -615,6 +614,8 @@ void PCB_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event )
...
@@ -615,6 +614,8 @@ void PCB_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event )
}
}
}
}
GetGalCanvas
()
->
StopDrawing
();
// Delete the auto save file if it exists.
// Delete the auto save file if it exists.
wxFileName
fn
=
GetBoard
()
->
GetFileName
();
wxFileName
fn
=
GetBoard
()
->
GetFileName
();
...
...
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