Добавлено обновления списка файлов в дереве
This commit is contained in:
		| @@ -289,6 +289,9 @@ namespace eval FileOper { | |||||||
|         } |         } | ||||||
|         set parent [Tree::InsertItem $tree $parent $directory "directory" [file tail $directory]] |         set parent [Tree::InsertItem $tree $parent $directory "directory" [file tail $directory]] | ||||||
|         $tree selection set $parent |         $tree selection set $parent | ||||||
|  |         foreach i [$tree children $parent] { | ||||||
|  |             $tree delete $i | ||||||
|  |         } | ||||||
|         # if {[ $tree  item $parent -open] eq "false"} { |         # if {[ $tree  item $parent -open] eq "false"} { | ||||||
|             # $tree  item $parent -open true |             # $tree  item $parent -open true | ||||||
|         # } else { |         # } else { | ||||||
|   | |||||||
| @@ -72,6 +72,7 @@ namespace eval Git { | |||||||
|         puts $cmd |         puts $cmd | ||||||
|         puts $pipe |         puts $pipe | ||||||
|         if [regexp -nocase -- {^error:} $pipe match] { |         if [regexp -nocase -- {^error:} $pipe match] { | ||||||
|  |             ShowMessage "Command: '$cmd' error" $pipe | ||||||
|             return  |             return  | ||||||
|         } |         } | ||||||
|         foreach line [split $pipe "\n"] { |         foreach line [split $pipe "\n"] { | ||||||
| @@ -80,6 +81,8 @@ namespace eval Git { | |||||||
|         # cd $d |         # cd $d | ||||||
|          |          | ||||||
|         .frmStatus.lblGit configure -text "[::msgcat::mc "Branch"]: [Git::Branches current]" |         .frmStatus.lblGit configure -text "[::msgcat::mc "Branch"]: [Git::Branches current]" | ||||||
|  |         FileOper::ReadFolder $activeProject | ||||||
|  |          | ||||||
|         if [info exists res] { |         if [info exists res] { | ||||||
|             return $res |             return $res | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 svkalinin
					svkalinin