From 56c15ef8242d924165455898f40b16add51d46fb Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Mon, 25 Dec 2023 10:06:50 +0300 Subject: [PATCH] Keep style approve status when updating (#329) --- qgis-app/styles/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qgis-app/styles/views.py b/qgis-app/styles/views.py index 3e803a6c..57af8249 100644 --- a/qgis-app/styles/views.py +++ b/qgis-app/styles/views.py @@ -100,7 +100,6 @@ def form_valid(self, form): symbol_type=xml_parse["type"] ).first() obj.require_action = False - obj.approved = False obj.save() resource_notify(obj, created=False, resource_type=self.resource_name) msg = _("The Style has been successfully updated.")