enter runtime state when start button pressed with empty canvas

(Boeing r1805)
This commit is contained in:
ahrenholz 2013-12-05 23:42:14 +00:00
parent 564cabaac6
commit c1c71bb33a
3 changed files with 7 additions and 11 deletions

View file

@ -345,7 +345,7 @@ proc startStopButton { mode } {
# INPUTS
# * mode -- the new operating mode. Can be edit or exec.
#****
proc setOperMode { mode } {
proc setOperMode { mode { type "" } } {
global oper_mode activetool
global undolevel redolevel
global g_prefs
@ -399,7 +399,9 @@ proc setOperMode { mode } {
monitor_loop
set plugin [lindex [getEmulPlugin "*"] 0]
set emul_sock [pluginConnect $plugin connect false]
deployCfgAPI $emul_sock
if {$type != "connect"} {
deployCfgAPI $emul_sock
}
widget_loop
mobility_script_loop
### stop button is pressed