diff --git a/spinetoolbox/widgets/toolbars.py b/spinetoolbox/widgets/toolbars.py index 04edf4095..53e250a3e 100644 --- a/spinetoolbox/widgets/toolbars.py +++ b/spinetoolbox/widgets/toolbars.py @@ -159,7 +159,8 @@ def _make_tool_button(self, icon, text, slot=None, tip=None): button = NiceButton() button.setIcon(icon) button.setText(text) - button.setToolTip(f"

{tip}

") + if tip is not None: + button.setToolTip(f"

{tip}

") if slot is not None: button.clicked.connect(slot) self._add_tool_button(button)