Add tooltips to APs in the mesh view.
This commit is contained in:
parent
c314368da5
commit
fdc97518f7
@ -79,7 +79,10 @@ class AccessPointView(PulsingIcon):
|
|||||||
network_manager.set_active_device(device, network)
|
network_manager.set_active_device(device, network)
|
||||||
|
|
||||||
def _update_name(self):
|
def _update_name(self):
|
||||||
self.props.tooltip = self._model.props.name
|
if self.palette:
|
||||||
|
self.palette.set_primary_text(self._model.props.name)
|
||||||
|
else:
|
||||||
|
self.set_tooltip(self._model.props.name)
|
||||||
|
|
||||||
def _update_icon(self):
|
def _update_icon(self):
|
||||||
icon_name = canvasicon.get_icon_state(
|
icon_name = canvasicon.get_icon_state(
|
||||||
|
Loading…
Reference in New Issue
Block a user