Исправлено переключение вкладок при закрытии

This commit is contained in:
svkalinin
2022-11-23 12:50:07 +03:00
parent 8402409489
commit dbb8c3f911
4 changed files with 14 additions and 5 deletions

View File

@@ -188,6 +188,7 @@ ttk::style layout TNotebook.Tab {
bind TNotebook <Button-1> "catch {NB::PressTab %W %x %y}\;[bind TNotebook <Button-1>];break"
# bind <<NotebookTabChanged>> "NB::PressTab %W %x %y"
bind TNotebook <ButtonRelease-1> "NB::PressTab %W %x %y"
# bind TNotebook <Control-w> FileOper::Close
# bind . <Control-Tab> "NB::NextTab $nbEditor"
bind . <Control-Next> "NB::NextTab $nbEditor 1"
bind . <Control-Prior> "NB::NextTab $nbEditor -1"