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

gEDA-cvs: CVS update: i_callbacks.c



  User: cnieves 
  Date: 06/10/23 14:55:41

  Modified:    .        Tag: glist_dev i_callbacks.c
  Log:
  * src/i_callbacks.c: don't save the undo state in the 
  
    zoom_view_extents callback if we are inside a command. 
  
    Otherwise we can't go back to the previous state if the 
  
    action is cancelled.
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.69.2.8  +2 -1      eda/geda/gaf/gschem/src/i_callbacks.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_callbacks.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/i_callbacks.c,v
  retrieving revision 1.69.2.7
  retrieving revision 1.69.2.8
  diff -u -b -r1.69.2.7 -r1.69.2.8
  --- i_callbacks.c	23 Oct 2006 18:23:28 -0000	1.69.2.7
  +++ i_callbacks.c	23 Oct 2006 18:55:41 -0000	1.69.2.8
  @@ -1442,6 +1442,7 @@
   
     /* scroll bar stuff */
     a_zoom_extents(w_current, w_current->page_current->object_head, 0);
  +  if (w_current->inside_action == 0)
     o_undo_savestate(w_current, UNDO_VIEWPORT_ONLY);
   }
   
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs