Menu

#51 Failure to create new tabs when using other locales

None
closed-invalid
nobody
bug (1)
5
2014-11-10
2014-11-05
No

TkCon fails with the following error when opening a new tab using a locale other than the default:

bad menu entry index "Delete Tab"
bad menu entry index "Delete Tab"
    while executing
".mbar.console entryconfigure {Delete Tab} -state normal"
    ("eval" body line 1)
    invoked from within
"eval [list $PRIV(menubar).[string tolower $m] entryconfigure $l] $args"
    (procedure "MenuConfigure" line 3)
    invoked from within
"MenuConfigure Console "Delete Tab" -state normal"
    (procedure "::tkcon::NewTab" line 15)
    invoked from within
"::tkcon::NewTab"
    invoked from within
".#mbar.#mbar#console invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#mbar.#mbar#console 1"
    (command bound to event)

The attached patch solves the issue.

1 Attachments

Discussion

  • Adrián Medraño Calvo

    Please, disregard issue and patch, as it's due to local changes. This issue can be closed.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2014-11-10
    • status: open --> closed-invalid
     

Log in to post a comment.