From: Darius S. <dst...@us...> - 2001-07-25 12:56:11
|
Update of /cvsroot/kuml/kuml/kuml_gui/src/ige/common/tools In directory usw-pr-cvs1:/tmp/cvs-serv3228/common/tools Modified Files: SelectionTool.cpp Log Message: Added chained line support Index: SelectionTool.cpp =================================================================== RCS file: /cvsroot/kuml/kuml/kuml_gui/src/ige/common/tools/SelectionTool.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** SelectionTool.cpp 2001/07/24 11:34:49 1.3 --- SelectionTool.cpp 2001/07/25 12:56:08 1.4 *************** *** 54,57 **** --- 54,58 ---- if(view) { + // editor->unselectAll(); // Let the view process the event itself. The SelectableView's default implemention will create a popup menu view->mouseLMBPress(e); *************** *** 109,115 **** view = layer->pick(e->pos()); ! if(view) // Let the view process the event itself. The SelectableView's default implemention will create a popup menu view->mouseRMBPress(e); else { QPopupMenu *menu; --- 110,117 ---- view = layer->pick(e->pos()); ! if(view) { // Let the view process the event itself. The SelectableView's default implemention will create a popup menu view->mouseRMBPress(e); + } else { QPopupMenu *menu; *************** *** 117,120 **** --- 119,123 ---- menu->exec(QCursor::pos()); delete menu; + editor->unselectAll(); } } |