summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/ControllersWindow.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-03-09 16:10:14 +0100
committerGitHub <noreply@github.com>2023-03-09 16:10:14 +0100
commit8c7997d6caeca76d663fbb45ab7e3099bd4dda6b (patch)
tree8f3a5da7e26bfbd2a5210337b7fd9efca8b9076d /Source/Core/DolphinQt/Config/ControllersWindow.cpp
parent234c5dd90e31cbbe6782b4a6c6ae5f2f578e199b (diff)
parentd18735e82ea3372d407bb313b0af65692ca5ad05 (diff)
Merge pull request #11601 from Dentomologist/bluetooth_adapter_missing_message
Config: Restore Bluetooth adapter missing message in Controller Settings
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllersWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/ControllersWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllersWindow.cpp b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
index 52c8e25f9a..2470910e8e 100644
--- a/Source/Core/DolphinQt/Config/ControllersWindow.cpp
+++ b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
@@ -23,6 +23,12 @@ ControllersWindow::ControllersWindow(QWidget* parent) : QDialog(parent)
ConnectWidgets();
}
+void ControllersWindow::showEvent(QShowEvent* event)
+{
+ QDialog::showEvent(event);
+ m_wiimote_controllers->UpdateBluetoothAvailableStatus();
+}
+
void ControllersWindow::CreateMainLayout()
{
auto* layout = new QVBoxLayout();