g_add_component()/add-component-at-xy was adding component with
attribute promotion turned off.  This change fixes bug [#1932474].
---
 gschem/src/g_hook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gschem/src/g_hook.c b/gschem/src/g_hook.c
index 303e058..6368fe0 100644
--- a/gschem/src/g_hook.c
+++ b/gschem/src/g_hook.c
@@ -727,7 +727,7 @@ SCM g_add_component(SCM page_smob, SCM scm_comp_name, SCM 
scm_x, SCM scm_y,
                     x, y, 
                     angle, mirror,
                     clib, comp_name, 
-                    selectable, FALSE);
+                    selectable, TRUE);
   
   /* 
    * For now, do not redraw the newly added complex, since this might cause
-- 
1.4.4.4




_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to