@@ -27,5 +27,7 @@ DashConnection::DashConnection(const QString &service, const QString &path, cons
2727
2828void DashConnection::setCurrentScope(const QString &scopeId, bool animate, bool isSwipe)
2929{
30− dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
30+ if (dbusInterface()) {
31+ dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
32+ }
3133}