gui/graph_displayer_canvas-event.cc
changeset 1614 350c1d8bb7cc
parent 1606 dc4ea2010dee
child 1632 93ac8c521fe5
     1.1 --- a/gui/graph_displayer_canvas-event.cc	Wed Aug 03 19:10:12 2005 +0000
     1.2 +++ b/gui/graph_displayer_canvas-event.cc	Sun Aug 07 14:17:11 2005 +0000
     1.3 @@ -622,6 +622,10 @@
     1.4  			canvasentrywidget=new Gnome::Canvas::Widget(displayed_graph, entry_coos.x, entry_coos.y, entrywidget);
     1.5  			canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*4);
     1.6  			canvasentrywidget->property_height().set_value(edgetextmap[active_edge]->property_text_height().get_value()*1.5);
     1.7 +
     1.8 +			//setting the focus to newly created widget
     1.9 +			parentwin->set_focus(entrywidget);
    1.10 +			parentwin->activate_focus();
    1.11  		      }
    1.12  		  }
    1.13  	      }