Please find attached my patch for this bug. I have basically redefined the old _on_cursor_changed into a new method, _cursor_changed_event, and used it inside _on_row_activated. This seems to work nicely, for no stuff is being disconnected and such.
Here's the code (file is outline.py in the main plugin directory):
def _on_cursor_changed(self, view):
#Uncomment the line below to get the old behaviour #self._cursor_changed_event(view)
pass
def _cursor_changed_event(self, view):
selection = view.get_selection()
if not selection:
return
store, it = selection.get_selected()
if not it:
return
Please find attached my patch for this bug. I have basically redefined the old _on_cursor_changed into a new method, _cursor_ changed_ event, and used it inside _on_row_activated. This seems to work nicely, for no stuff is being disconnected and such.
Here's the code (file is outline.py in the main plugin directory):
def _on_cursor_ changed( self, view):
#self. _cursor_ changed_ event(view)
#Uncomment the line below to get the old behaviour
pass
def _cursor_ changed_ event(self, view): selection( )
selection = view.get_
if not selection:
return
store, it = selection. get_selected( )
if not it:
return
def _on_row_ activated( self, view, path, column): get_iter( path)
it = self._store.
node = self._store.get(it, 2)[0]
#Comment the line below to get the old behaviour
self._ cursor_ changed_ event(view)