mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure self.dbref always exists
This commit is contained in:
parent
3a56d5ca48
commit
3dcdc766ee
@ -724,6 +724,7 @@ class GridView(QListView):
|
||||
|
||||
def __init__(self, parent):
|
||||
QListView.__init__(self, parent)
|
||||
self.dbref = lambda: None
|
||||
self._ncols = None
|
||||
self.gesture_manager = GestureManager(self)
|
||||
setup_dnd_interface(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user