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
f71ba3d1
Commit
f71ba3d1
authored
Mar 26, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor comment & todo
parent
fb357bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
pronterface.py
printrun/pronterface.py
+3
-1
No files found.
printrun/pronterface.py
View file @
f71ba3d1
...
@@ -285,10 +285,12 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -285,10 +285,12 @@ class PronterWindow(MainWindow, pronsole.pronsole):
# If UI is being recreated, delete current one
# If UI is being recreated, delete current one
if
self
.
ui_ready
:
if
self
.
ui_ready
:
# Store log console content
logcontent
=
self
.
logbox
.
GetValue
()
# Create a temporary panel to reparent widgets with state we want
# Create a temporary panel to reparent widgets with state we want
# to retain across UI changes
# to retain across UI changes
logcontent
=
self
.
logbox
.
GetValue
()
temppanel
=
wx
.
Panel
(
self
)
temppanel
=
wx
.
Panel
(
self
)
# TODO: add viz widgets to statefulControls
for
control
in
self
.
statefulControls
:
for
control
in
self
.
statefulControls
:
control
.
GetContainingSizer
()
.
Detach
(
control
)
control
.
GetContainingSizer
()
.
Detach
(
control
)
control
.
Reparent
(
temppanel
)
control
.
Reparent
(
temppanel
)
...
...
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