# and Technology through the research contract #IP-2003-143.
#
-# $Id: editor.tcl,v 1.91 2008/10/23 12:04:20 marko Exp $
+# $Id: editor.tcl,v 1.92 2008/10/28 12:30:18 miljenko Exp $
#****h* imunes/editor.tcl
if { $h < 2 } {
set h 2
}
- text $wi.statrt.cfg.text -font arial -bg white \
+ text $wi.statrt.cfg.text -bg white \
-width 42 -height $h -takefocus 0
foreach route $routes {
$wi.statrt.cfg.text insert end "$route\r"
if { $selected_node_list != $empty } {
foreach node $selected_node_list {
- if { $oper_mode == "edit" } {
+ if { $oper_mode == "edit" && [nodeType $node] == "router" } {
setNodeModel $node $router_model
set router_ConfigModel $router_model
if { $router_ConfigModel != "static" } {
# and Technology through the research contract #IP-2003-143.
#
-# $Id: initgui.tcl,v 1.51 2008/10/27 12:55:24 miljenko Exp $
+# $Id: initgui.tcl,v 1.52 2008/10/28 12:30:18 miljenko Exp $
#****h* imunes/initgui.tcl
set grid 24
set showGrid 1
set autorearrange_enabled 0
+set activetool select
# resize Oval/Rectangle, "false" or direction: north/west/east/...
set resizemode false