Fix undefined name error.

This commit is contained in:
Florian Bruhin 2015-07-29 15:04:07 +02:00
parent 8f2a4fc0c4
commit 57e79db136

View File

@ -162,5 +162,5 @@ class UrlCompletionModel(base.BaseCompletionModel):
quickmark_manager = objreg.get('quickmark-manager')
sibling = index.sibling(index.row(), self.TEXT_COLUMN)
qtutils.ensure_valid(sibling)
name = model.data(sibling)
name = sibling.data()
quickmark_manager.quickmark_del(name)