Добавил деактивацию кнопки 'Создать репу' если не выбран активный проект (не открыто ни одного каталога/папки)

This commit is contained in:
svkalinin
2022-11-28 16:37:42 +03:00
parent 52a3e9a4ac
commit 64c9957991
2 changed files with 4 additions and 2 deletions

View File

@@ -665,7 +665,9 @@ namespace eval Git {
ReadFilesFromDirectory $activeProject $activeProject
destroy .clone
}
if ![info exists activeProject] {
$win.btnInit configure -state disable
}
grid $win.entUrl -row 0 -column 0 -columnspan 2 -sticky new
grid $win.entFolder -row 1 -column 0 -sticky new
grid $win.btnFolder -row 1 -column 1 -sticky ew