fix(da07): make station-commands menu tooltips visible
This commit is contained in:
@@ -160,6 +160,7 @@ class MainWindow(QMainWindow):
|
||||
menu_btn = QToolButton(tb)
|
||||
menu_btn.setText("Station commands ▾")
|
||||
self.station_menu = QMenu(menu_btn)
|
||||
self.station_menu.setToolTipsVisible(True) # QMenu hides action tooltips by default
|
||||
self.act_clock = self.station_menu.addAction("Set Clock…")
|
||||
self.act_clock.triggered.connect(self._set_clock)
|
||||
self.act_reboot = self.station_menu.addAction("Reboot Station…")
|
||||
|
||||
Reference in New Issue
Block a user