summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ConnectWindow.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index 6c5a8e2b..4d26e61c 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -195,15 +195,14 @@ ConnectWindow::connect(bool existing)
} else
#endif
if (_mode == INTERNAL) {
- if (!world->local_engine())
+ if (!world->local_engine()) {
world->load_module("server");
+ world->load_module("jack");
+ world->local_engine()->activate();
+ }
SharedPtr<SigClientInterface> client(new SigClientInterface());
- world->load_module("jack");
-
- world->local_engine()->activate();
-
_app->attach(client);
_app->register_callbacks();