]> git.lyx.org Git - features.git/commit
branch: Fix handling of the add branch textfield in GuiBranches
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 3 Mar 2012 15:55:00 +0000 (15:55 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 3 Mar 2012 15:55:00 +0000 (15:55 +0000)
commit436ab3a2c2d42c815b17f17ea0ae649b068ed448
tree5324a2cfe6d0ae960fd6657d0198189b10b4e48c
parent9a5c01acb846c31ffa4941a6fd415b3b8a78e04b
branch: Fix handling of the add branch textfield in GuiBranches

- Enter in the textfield adds the branch,
- Make sure the dialog is not closed when pressing enter,
- Pressing Ctrl+Enter or the Enter on the numpad closes the dialog.

Patch based on a patch from Scott Kostyshak.

see r40839.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40847 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiBranches.cpp
src/frontends/qt4/GuiBranches.h
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/ui/BranchesUi.ui
status.20x