[GME-commit] GMESRC/GME/Gme GMEView.cpp,1.184,1.185

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Oct 5 17:15:54 CDT 2006


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv30598

Modified Files:
	GMEView.cpp 
Log Message:
Setting focus in case

-in disconnect mode a connection is deleted (the focus might be wandered away)

-an object is dropped from the partbrowser to the view (this will enable a freshly dropped object to be nudged right after the insertion)


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEView.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEView.cpp,v
retrieving revision 1.184
retrieving revision 1.185
diff -C2 -d -r1.184 -r1.185
*** GMEView.cpp	4 Oct 2006 16:32:26 -0000	1.184
--- GMEView.cpp	5 Oct 2006 16:15:51 -0000	1.185
***************
*** 2591,2594 ****
--- 2591,2595 ----
  		CGMEEventLogger::LogGMEEvent("    Unable to delete connection.\r\n");
  	}
+ 	this->SetFocus();
  	return ok;
  }
***************
*** 2760,2764 ****
  		return false;
  	}
! 
  	return ok;
  }
--- 2761,2765 ----
  		return false;
  	}
! 	this->SetFocus();
  	return ok;
  }



More information about the GME-commit mailing list