Skip to content

songsview: fix a TypeError

Hugo Posnic requested to merge Huluti/gnome-music:fix-selection-typeerror into master

Just a small fix to prevent a TypeError when displacing a row in selection mode in SongsView.

Here's the resolved error:

Traceback (most recent call last):
  File "/app/lib/python3.7/site-packages/gnomemusic/views/", line 200, in _on_view_clicked
    path, col, cell_x, cell_y = self._view.get_path_at_pos(x, y)
TypeError: cannot unpack non-iterable NoneType object
L’application s’est fermée
Edited by Hugo Posnic

Merge request reports