Permalink
Browse files

disable servers button if slist is empty

  • Loading branch information...
hypatia2 committed Aug 24, 2015
1 parent 259ec8b commit d8fe54e37985591c4bcb9f6331ac7a6fbea68478
Showing with 4 additions and 0 deletions.
  1. +4 −0 fruho/main.tcl
@@ -1102,6 +1102,10 @@ proc slist-button-stand {} {
if {[is-addprovider-tab-selected]} {
return disabled
}
set slist [current-slist [model now] [current-profile]]
if {$slist eq ""} {
return disabled
}
return normal
}

0 comments on commit d8fe54e

Please sign in to comment.