[gnome-builder] ide-config: set config dirty when run-opts change



commit 9c6d4f770eb41a713e93435ac55ee1768630c6f2
Author: GwenLG <gwenlg xoddark com>
Date:   Fri Dec 10 16:26:13 2021 +0100

    ide-config: set config dirty when run-opts change
    
    Whis this .buildconfig file is saved when run-opts is changed in ui.

 src/libide/foundry/ide-config.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/foundry/ide-config.c b/src/libide/foundry/ide-config.c
index 9d14cacb8..f620e6d84 100644
--- a/src/libide/foundry/ide-config.c
+++ b/src/libide/foundry/ide-config.c
@@ -1693,6 +1693,7 @@ ide_config_set_run_opts (IdeConfig   *self,
       g_free (priv->run_opts);
       priv->run_opts = g_strdup (run_opts);
       g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_RUN_OPTS]);
+      ide_config_set_dirty (self, TRUE);
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]