treagod/spectator

Collection Rename doesn't work

jdmg94 opened this issue · 4 comments

Steps to Reproduce:

  1. create a collection named foo
  2. right-click the collection and click rename from the context menu
  3. enter the name bar on the dialog and click ok

Expected Behaviour:
The name entered on the dialog is reflected in the selected collection in the side-bar.

Current Behaviour:
nothing happens

as per line:

collection.update (col);

the collection update is calling method update on a Models.Collection instance, but if we check the source for the model we don't have an update method defined: https://github.com/treagod/spectator/blob/master/src/Models/Collection.vala

Will fix it as soon as possible. As workaround hit enter after typing the new name

Fixed with 021fa84

@treagod Tested and working properly now.

This issue can be closed now.