]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed bluetooth settings dialog
authorlx-s <lx-s@users.noreply.github.com>
Mon, 18 Dec 2023 19:29:19 +0000 (20:29 +0100)
committerlx-s <lx-s@users.noreply.github.com>
Mon, 18 Dec 2023 19:29:19 +0000 (20:29 +0100)
WinMute/Settings_BluetoothDlg.cpp

index 6414dac7bb8a6971534a0a33221da460d7e0904c..e52a1db41a6323cec7c75eb2c399b696f0c8dceb 100644 (file)
@@ -246,7 +246,7 @@ INT_PTR CALLBACK Settings_BluetoothDlgProc(HWND hDlg, UINT msg, WPARAM wParam, L
          // Hide all child windows, except the notice
          EnumChildWindows(hDlg, ShowChildWindow, SW_HIDE);
 
-         HWND hDescription = GetDlgItem(hDlg, IDC_STATIC_BLUETOOTH_NOT_AVAILABLE);
+         HWND hDescription = GetDlgItem(hDlg, IDC_BLUETOOTH_DESCRIPTION_LABEL);
          WMi18n::GetInstance().SetItemText(hDescription, "settings.bluetooth-disabled-info");
          RECT r;
          GetClientRect(hDescription, &r);