Исиправил закрытие вкладки при отпускании кнопки мыши при нажатии на крестик.

This commit is contained in:
svk
2026-02-12 10:58:42 +03:00
parent 723426b1d6
commit 118638e42e

View File

@@ -237,7 +237,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 <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"