Changeset c320946 in tol


Ignore:
Timestamp:
Jan 3, 2017, 7:22:56 AM (10 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
a52bf16
Parents:
935c832
Message:

Refs #1938
Se elimina la llamada a break en los bind de wtree para posibilitar que se añadan más llamadas como las de bcomboboxplus (que dependen de wtree via blistboxplus).

bind $lb <Double-Button-1>  +[list $self _CloseList]
bind $lb <KeyPress-Return>  +[list $self _CloseList]

Esto permite que la función TOL: TclDialogComboPlus funcione adecuadamente.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7383 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/wtree/wtree.tcl

    r935c832 rc320946  
    682682    #@ El bind se hace con $self para poder ser modificado externamente
    683683    #@ Hay mas binds en el constructor
    684     bind $self <Double-ButtonPress-1> "[mymethod DoubleButton1 %W %x %y] ; break"
    685     bind $self <Return>               "[mymethod KeyPressReturn %W] ; break"
    686     bind $self <ButtonPress-3>         [mymethod Button3 %W %x %y %X %Y]
    687     bind $self <Escape>               "[mymethod KeyPressEscape] ; break"
     684    bind $self <Double-ButtonPress-1> [mymethod DoubleButton1 %W %x %y]
     685    bind $self <Return>               [mymethod KeyPressReturn %W]
     686    bind $self <ButtonPress-3>        [mymethod Button3 %W %x %y %X %Y]
     687    bind $self <Escape>               [mymethod KeyPressEscape]
    688688
    689689    $tree notify bind $tree <Header-invoke> [mymethod SortbyColumn %W %C]
Note: See TracChangeset for help on using the changeset viewer.