[gnome-music/wip/mschraal/selection-fixes: 1/4] Revert "coreartist: Load the model only if the artist is selected"
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/selection-fixes: 1/4] Revert "coreartist: Load the model only if the artist is selected"
- Date: Tue, 8 Oct 2019 13:10:13 +0000 (UTC)
commit fe86e6976d983fa72e336f04bd183885260fb3f6
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Oct 4 12:46:22 2019 +0200
Revert "coreartist: Load the model only if the artist is selected"
This reverts commit 6d9ac69b0138d975e8f22dbf0cea77c8b5fa8acb.
Makes deselecting fail.
gnomemusic/coreartist.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/coreartist.py b/gnomemusic/coreartist.py
index 2832a979..96b92d83 100644
--- a/gnomemusic/coreartist.py
+++ b/gnomemusic/coreartist.py
@@ -82,8 +82,7 @@ class CoreArtist(GObject.GObject):
# a selection. Trigger loading of the model here if a selection
# is requested, it will trigger the filled model update as
# well.
- if self._selected is True:
- self.props.model.items_changed(0, 0, 0)
+ self.props.model.items_changed(0, 0, 0)
@GObject.Property(type=str, default=None)
def thumbnail(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]