Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
3a8bb527
Commit
3a8bb527
authored
Sep 05, 2012
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unappropriate webInterface close in pronterface_widgets
parent
f35ce9cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pronterface_widgets.py
printrun/pronterface_widgets.py
+2
-2
No files found.
printrun/pronterface_widgets.py
View file @
3a8bb527
...
@@ -90,10 +90,10 @@ class macroed(wx.Dialog):
...
@@ -90,10 +90,10 @@ class macroed(wx.Dialog):
self
.
callback
(
self
.
reindent
(
self
.
e
.
GetValue
()))
self
.
callback
(
self
.
reindent
(
self
.
e
.
GetValue
()))
else
:
else
:
self
.
callback
(
self
.
e
.
GetValue
()
.
split
(
"
\n
"
))
self
.
callback
(
self
.
e
.
GetValue
()
.
split
(
"
\n
"
))
def
close
(
self
,
ev
):
def
close
(
self
,
ev
):
self
.
Destroy
()
self
.
Destroy
()
if
self
.
webInterface
:
webinterface
.
KillWebInterfaceThread
()
def
unindent
(
self
,
text
):
def
unindent
(
self
,
text
):
self
.
indent_chars
=
text
[:
len
(
text
)
-
len
(
text
.
lstrip
())]
self
.
indent_chars
=
text
[:
len
(
text
)
-
len
(
text
.
lstrip
())]
if
len
(
self
.
indent_chars
)
==
0
:
if
len
(
self
.
indent_chars
)
==
0
:
...
...
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