From 1142324008a06e4c848b4aed03980fa185f9ffad Mon Sep 17 00:00:00 2001 From: svkalinin Date: Tue, 30 Aug 2022 14:55:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BA=D0=BE=D1=80=D0=BE=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B8=D0=BC=D1=8F=20=D0=BA=D0=BE=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=B2=D0=BE=D0=B3=D0=BE=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=B0=20=D0=B2=20=D0=B4=D0=B5=D1=80=D0=B5=D0=B2=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/files.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/files.tcl b/lib/files.tcl index 99d0c89..065a40a 100644 --- a/lib/files.tcl +++ b/lib/files.tcl @@ -149,7 +149,7 @@ namespace eval FileOper { if {[catch {cd $directory}] != 0} { return "" } - set parent [Tree::InsertItem $tree {} $directory "directory" $directory] + set parent [Tree::InsertItem $tree {} $directory "directory" [file tail $directory]] # if {[ $tree item $parent -open] eq "false"} { # $tree item $parent -open true # } else {