re-read channel var when switching sessions via dialog (fixes bug #259)

patch from Björn Axelsson
(Boeing r1899)
This commit is contained in:
ahrenholz 2014-10-31 18:29:16 +00:00
parent 76889d8411
commit e319873815

View file

@ -948,7 +948,7 @@ proc popupSessionConfig { channel sessionids sessionnames sessionfiles nodecount
# buttons - new connect shutdown cancel # buttons - new connect shutdown cancel
set close_cmd "destroy $wi" set close_cmd "destroy $wi"
set conn_cmd "sessionConfig connect $wi $channel; $close_cmd" set conn_cmd "sessionConfig connect $wi -1; $close_cmd"
set shut_cmd "sessionConfig shutdown $wi $channel; $close_cmd" set shut_cmd "sessionConfig shutdown $wi $channel; $close_cmd"
set new_cmd "sessionConfig new $wi $channel; $close_cmd" set new_cmd "sessionConfig new $wi $channel; $close_cmd"