Skip to content

Commit 01681ab

Browse files
committed
fix missing import
1 parent 3c74991 commit 01681ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/core/additions/qgssettings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
from .metaenum import metaEnumFromValue
2121
from qgis.core import QgsSettings
22+
import qgis # required to get base class of enums
2223

2324

2425
def _qgssettings_enum_value(self, key, enumDefaultValue, section=QgsSettings.NoSection):

0 commit comments

Comments
 (0)