mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 942712 - Set gToggleInProgress to false when bt toggling is done, r=gyeh
This commit is contained in:
parent
5fa589e2f7
commit
206a864559
@ -156,6 +156,7 @@ public:
|
||||
// Update mEnabled of BluetoothService object since
|
||||
// StartInternal/StopInternal have been already done.
|
||||
gBluetoothService->SetEnabled(mEnabled);
|
||||
gToggleInProgress = false;
|
||||
|
||||
nsAutoString signalName;
|
||||
signalName = mEnabled ? NS_LITERAL_STRING("Enabled")
|
||||
@ -547,8 +548,6 @@ BluetoothService::SetEnabled(bool aEnabled)
|
||||
}
|
||||
|
||||
mEnabled = aEnabled;
|
||||
|
||||
gToggleInProgress = false;
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user