[aseprite] 76/134: SelectAccelerator: Focus the KeyField after any modification is done
Tobias Hansen
thansen at moszumanska.debian.org
Sat Mar 14 17:10:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 83ee0bf45d2affc88d904854c2851b160fde4719
Author: David Capello <davidcapello at gmail.com>
Date: Tue Nov 25 20:29:26 2014 -0300
SelectAccelerator: Focus the KeyField after any modification is done
E.g. if a modifier checkbox is pressed, we want the keyboard focus back
to the KeyField (which is the only interesting field)
---
src/app/ui/select_accelerator.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/app/ui/select_accelerator.cpp b/src/app/ui/select_accelerator.cpp
index 046136d..2394f02 100644
--- a/src/app/ui/select_accelerator.cpp
+++ b/src/app/ui/select_accelerator.cpp
@@ -127,6 +127,7 @@ void SelectAccelerator::onModifierChange(KeyModifiers modifier, CheckBox* checkb
m_accel = Accelerator(modifiers, scancode, unicodeChar);
m_keyField->setAccel(m_accel);
+ m_keyField->requestFocus();
updateAssignedTo();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list