fix wrong toolbar "Push schematic" action
This commit is contained in:
parent
7efc446dae
commit
173450edde
|
|
@ -308,9 +308,8 @@ void *my_malloc(int id, size_t size)
|
|||
void *ptr;
|
||||
if(size>0) {
|
||||
ptr=malloc(size);
|
||||
if(ptr == NULL) fprintf(errfp,"my_malloc(%d,): allocation failure\n", id);
|
||||
dbg(3, "my_malloc(%d,): allocating %p , %lu bytes\n",
|
||||
id, ptr, (unsigned long) size);
|
||||
if(ptr == NULL) fprintf(errfp,"my_malloc(%d,): allocation failure\n", id);
|
||||
dbg(3, "my_malloc(%d,): allocating %p , %lu bytes\n", id, ptr, (unsigned long) size);
|
||||
}
|
||||
else ptr=NULL;
|
||||
return ptr;
|
||||
|
|
|
|||
|
|
@ -4129,7 +4129,7 @@ if { ( $::OS== "Windows" || [string length [lindex [array get env DISPLAY] 1] ]
|
|||
.menubar.edit.menu add radiobutton -label "Constrained Vertical move" -variable constrained_move \
|
||||
-value 2 -accelerator V -command {xschem set constrained_move 2}
|
||||
.menubar.edit.menu add command -label "Push schematic" -command "xschem descend" -accelerator E
|
||||
toolbar_create EditPushSch "xschem move_objects" "Push schematic"
|
||||
toolbar_create EditPushSch "xschem descend" "Push schematic"
|
||||
.menubar.edit.menu add command -label "Push symbol" -command "xschem descend_symbol" -accelerator I
|
||||
toolbar_create EditPushSym "xschem descend_symbol" "Push symbol"
|
||||
.menubar.edit.menu add command -label "Pop" -command "xschem go_back" -accelerator Ctrl+E
|
||||
|
|
|
|||
Loading…
Reference in New Issue