]> git.lyx.org Git - features.git/commit
Fix handling of the add branch textfield in GuiBranches
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 3 Mar 2012 14:39:32 +0000 (14:39 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 3 Mar 2012 14:39:32 +0000 (14:39 +0000)
commit199148837735e1391ca6f053977288c9463fd859
treefa29c54785e16ff63c6f4e11cb5eebc4cff01a10
parent803e7a9cfa24d5633ee5ea358c5060f4fdf96c91
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.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40839 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