summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-07-21 12:32:58 +0100
committerSimon McVittie <smcv@debian.org>2019-07-21 12:32:58 +0100
commit142b4dfc0d7e853356a301c09a000f99de36674f (patch)
tree464d496c1ff3a204132d81bcb0d6d6133d5681b6
parentffc73e1932768f16a55fd3f2db2ffd7f52fe882d (diff)
parent4cfae1c3c2d0d608d450269cce01b535cd706125 (diff)
Update upstream source from tag 'upstream/8'
Update to upstream version '8' with Debian dir dd0e9403ed07576913a1a4c6f4a45871828506c8
-rw-r--r--extension.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/extension.js b/extension.js
index 403d956..0a9b9d2 100644
--- a/extension.js
+++ b/extension.js
@@ -95,15 +95,14 @@ class BluetoothQuickConnect {
if (isOpen && this._autoPowerOnEnabled())
this._proxy.BluetoothAirplaneMode = false;
});
-
+
this._connectSignal(this._model, 'row-changed', () => this._sync());
this._connectSignal(this._model, 'row-deleted', () => this._sync());
this._connectSignal(this._model, 'row-inserted', () => this._sync());
+ this._proxy.BluetoothAirplaneMode = false;
this._idleMonitor();
- if (!this._proxy.BluetoothAirplaneMode) {
- this._sync();
- }
+ this._sync();
}
disable() {