aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/playlists-menu-item.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlists-menu-item.vala b/src/playlists-menu-item.vala
index bc39129..f4d7233 100644
--- a/src/playlists-menu-item.vala
+++ b/src/playlists-menu-item.vala
@@ -69,7 +69,10 @@ public class PlaylistsMenuitem : PlayerItem
}
}
if (within == false){
- this.root_item.child_delete (item);
+ if (this.root_item.property_get (MENUITEM_PATH) == item.property_get (MENUITEM_PATH)){
+ this.root_item.property_set (MENUITEM_PROP_LABEL, "Choose Playlist");
+ }
+ this.root_item.child_delete (item);
}
}
}