diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-08-29 14:34:47 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-08-29 14:34:47 +0200 |
commit | b242db18e5fb7f025f7cdc527bbe68808baaa7f7 (patch) | |
tree | d30626717417585d8a13c86985d6a1bedec317bc /nephilim | |
parent | 601ebac1779653985bf866cf23a6b68b717acb89 (diff) |
Playlist: fill on init.
fixes the issue with playlist plugin loaded after connecting.
Diffstat (limited to 'nephilim')
-rw-r--r-- | nephilim/plugins/Playlist.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nephilim/plugins/Playlist.py b/nephilim/plugins/Playlist.py index 2c1a56b..b85a759 100644 --- a/nephilim/plugins/Playlist.py +++ b/nephilim/plugins/Playlist.py @@ -63,6 +63,9 @@ class PlaylistWidget(QtGui.QWidget): self.layout().setMargin(0) self.layout().addWidget(self.playlist) + if self.plugin.mpclient.is_connected(): + self.playlist.fill() + class Playlist(QtGui.QTreeWidget): song = None plugin = None |