diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-10-28 22:52:43 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-10-28 22:52:43 +0100 |
commit | 4ee82f29f045300268f4bbc0a100c8ed90d15c5f (patch) | |
tree | 2bf3d1a76f824cfe83208bac136bda9568c33926 /portato | |
parent | ab6bf14e0d7a5e157902c0dbf94ec27bafba2b27 (diff) | |
download | portato-4ee82f29f045300268f4bbc0a100c8ed90d15c5f.tar.gz portato-4ee82f29f045300268f4bbc0a100c8ed90d15c5f.tar.bz2 portato-4ee82f29f045300268f4bbc0a100c8ed90d15c5f.zip |
Do not insert empty lines before expanded useflags in the queue tooltip, if there are no other useflags
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 != "" |