Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
74c9ca16
Commit
74c9ca16
authored
Aug 06, 2013
by
Sebastian Eichelbaum
Browse files
[FIX
#278
] ensure the main gl widget always gets shown on startup to ensure proper startup
parent
49c155bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/qt4gui/WMainWindow.cpp
src/qt4gui/WMainWindow.cpp
+4
-0
No files found.
src/qt4gui/WMainWindow.cpp
View file @
74c9ca16
...
...
@@ -449,6 +449,10 @@ void WMainWindow::setupGUI()
// after creating the GUI, restore its saved state
restoreSavedState
();
// this ensures that there is always at least the main window visible. Removing this might cause a freeze on startup if the user has closed
// all gl widgets during the last session.
mainGLDock
->
setVisible
(
true
);
}
void
WMainWindow
::
autoAdd
(
boost
::
shared_ptr
<
WModule
>
module
,
std
::
string
proto
,
bool
onlyOnce
)
...
...
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