summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ConnectWindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index e5ade51c..f93ebf4c 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -288,13 +288,17 @@ ConnectWindow::disconnect()
void
ConnectWindow::activate()
{
- App::instance().engine()->activate();
+ App::instance().engine()->set_property("ingen:driver",
+ "ingen:enabled",
+ true);
}
void
ConnectWindow::deactivate()
{
- App::instance().engine()->deactivate();
+ App::instance().engine()->set_property("ingen:driver",
+ "ingen:enabled",
+ false);
}
void