Исправил процедуру Files::CloseAll ('Закрыть всё')
This commit is contained in:
parent
cb6cefd8ac
commit
8de8ec16be
9
INSTALL
9
INSTALL
|
@ -1,9 +0,0 @@
|
||||||
######################################################
|
|
||||||
# Tcl/Tk Project manager 2.0
|
|
||||||
# Distributed under GNU Public License
|
|
||||||
# Author: Sergey Kalinin svk@nuk-svl.ru
|
|
||||||
# Home page: https://nuk-svk.ru
|
|
||||||
######################################################
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -201,11 +201,10 @@ namespace eval FileOper {
|
||||||
if {[lsearch -exact [.frmWork.panelNB panes] .frmWork.nbEditor2] != -1} {
|
if {[lsearch -exact [.frmWork.panelNB panes] .frmWork.nbEditor2] != -1} {
|
||||||
.frmWork.panelNB forget .frmWork.nbEditor2
|
.frmWork.panelNB forget .frmWork.nbEditor2
|
||||||
}
|
}
|
||||||
foreach nbItem [array names modified] {
|
foreach nbItem [$nbEditor tabs] {
|
||||||
if {[info exists modified($nbItem)] == 1 && $modified($nbItem) eq "true"} {
|
catch {$nbEditor select $nbItem}
|
||||||
catch {$nbEditor select $nbItem}
|
if {[Close] eq "cancel"} {
|
||||||
# puts "close tab $nbItem"
|
return "cancel"
|
||||||
if {[Close] eq "cancel"} {return "cancel"}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user