From 9eb0594df9f4cf8016550955b71a5dc59d15374f Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 4 Mar 2024 08:57:00 +1000 Subject: [PATCH] Fix compatibility with QGIS 3.36 Fixes #310 --- koordinates/gui/data_items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koordinates/gui/data_items.py b/koordinates/gui/data_items.py index 287799e..c9ab8eb 100644 --- a/koordinates/gui/data_items.py +++ b/koordinates/gui/data_items.py @@ -81,7 +81,7 @@ def dataProviderKey(self): return 'koordinates' def capabilities(self): - return int(QgsDataProvider.Dir) + return QgsDataProvider.Dir def createDataItem(self, path, parentItem): if not path: