diff options
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index eaed760..562e603 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1363,7 +1363,10 @@ class MainWindow (Window): string = string+"<i>- %s</i>" % ("\n- ".join(disabled),) if expanded: - string = string+"\n\n"+"\n".join(expanded) + if string: + string += "\n\n" + + string += "\n".join(expanded) tooltip.set_markup(string) return string != "" |