Ensure self.dbref always exists

This commit is contained in:
Kovid Goyal 2024-01-25 21:23:33 +05:30
parent 3a56d5ca48
commit 3dcdc766ee
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)