diff --git a/screens/bluetooth.py b/screens/bluetooth.py index 7be3b73..94ea993 100644 --- a/screens/bluetooth.py +++ b/screens/bluetooth.py @@ -42,17 +42,17 @@ class BluetoothScreen(QWidget): hdr.setContentsMargins(0, 0, 0, 0) hdr.setSpacing(12) - back_btn = QPushButton("Назад") - back_btn.setObjectName("SettingsBackBtn") - back_btn.setMinimumSize(120, 44) - back_btn.clicked.connect(self._on_back) + # back_btn = QPushButton("Назад") + # back_btn.setObjectName("SettingsBackBtn") + # back_btn.setMinimumSize(120, 44) + # back_btn.clicked.connect(self._on_back) - title = QLabel("Bluetooth") - title.setFont(QFont("", 22, 700)) + # title = QLabel("Bluetooth") + # title.setFont(QFont("", 22, 700)) - hdr.addWidget(back_btn) - hdr.addWidget(title) - hdr.addStretch(1) + # hdr.addWidget(back_btn) + # hdr.addWidget(title) + # hdr.addStretch(1) self.status = QLabel("Статус: —") self.status.setObjectName("BluetoothStatus") diff --git a/ui/main_window_new.py b/ui/main_window_new.py index e4aac40..2b8a9c4 100644 --- a/ui/main_window_new.py +++ b/ui/main_window_new.py @@ -132,6 +132,7 @@ class MainWindowNew(QMainWindow): if self.stack.currentIndex() == self.settings_idx: self.go(self.last_non_settings_idx) else: + self.settings_screen.show_list() self.go(self.settings_idx) def update_time(self):