diff --git a/app/ui/widgets/device_select.py b/app/ui/widgets/device_select.py index ef5c93d..bc9c165 100644 --- a/app/ui/widgets/device_select.py +++ b/app/ui/widgets/device_select.py @@ -3,9 +3,9 @@ from typing import Callable # QT6 non-window that presents a list of devices of which one can be connected class ListChoice(QDialog): - def __init__(self, items: dict[str, list[str]], parent=None): + def __init__(self, items: dict[str, list[str]], parent=None, window_title="Select Device"): super().__init__(parent) - self.setWindowTitle("Select Device") + self.setWindowTitle(window_title) self.setLayout(QVBoxLayout()) self.layout().addWidget(QLabel("Select a device to connect to:")) self.device_list = QListWidget()