@@ -85,7 +85,7 @@ def __init__(self, parent=None):
8585 idx = self .cmb_tracking_precision .findData (mode ) if ok else 1
8686 self .cmb_tracking_precision .setCurrentIndex (idx )
8787
88- enabled , ok = QgsProject .instance ().readBoolEntry ("Mergin" , "MapSketches /Enabled" )
88+ enabled , ok = QgsProject .instance ().readBoolEntry ("Mergin" , "MapSketching /Enabled" )
8989 if ok :
9090 self .chk_map_sketches_enabled .setChecked (enabled )
9191 else :
@@ -94,7 +94,7 @@ def __init__(self, parent=None):
9494 self .colors_change_state ()
9595 self .chk_map_sketches_enabled .stateChanged .connect (self .colors_change_state )
9696
97- colors , ok = QgsProject .instance ().readListEntry ("Mergin" , "MapSketches /Colors" )
97+ colors , ok = QgsProject .instance ().readListEntry ("Mergin" , "MapSketching /Colors" )
9898 if ok :
9999 for i in range (self .mColorsHorizontalLayout .count ()):
100100 item = self .mColorsHorizontalLayout .itemAt (i ).widget ()
@@ -256,7 +256,7 @@ def setup_map_sketches(self):
256256 return
257257
258258 # check if map sketches layer already exists
259- map_sketches_layer_id , ok = QgsProject .instance ().readEntry ("Mergin" , "MapSketches /Layer" )
259+ map_sketches_layer_id , ok = QgsProject .instance ().readEntry ("Mergin" , "MapSketching /Layer" )
260260
261261 if map_sketches_layer_id != "" and map_sketches_layer_id in QgsProject .instance ().mapLayers ():
262262 # map sketches layer already exists in the project, make sure it has correct flags
@@ -279,7 +279,7 @@ def apply(self):
279279 QgsProject .instance ().writeEntry (
280280 "Mergin" , "PositionTracking/UpdateFrequency" , self .cmb_tracking_precision .currentData ()
281281 )
282- QgsProject .instance ().writeEntry ("Mergin" , "MapSketches /Enabled" , self .chk_map_sketches_enabled .isChecked ())
282+ QgsProject .instance ().writeEntry ("Mergin" , "MapSketching /Enabled" , self .chk_map_sketches_enabled .isChecked ())
283283
284284 colors : typing .List [str ] = []
285285 for i in range (self .mColorsHorizontalLayout .count ()):
@@ -288,7 +288,7 @@ def apply(self):
288288 color = item .color ().name ()
289289 if color :
290290 colors .append (color )
291- QgsProject .instance ().writeEntry ("Mergin" , "MapSketches /Colors" , colors )
291+ QgsProject .instance ().writeEntry ("Mergin" , "MapSketching /Colors" , colors )
292292
293293 for i in range (self .attachments_model .rowCount ()):
294294 index = self .attachments_model .index (i , 1 )
0 commit comments