We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94228c commit 5a9c2cdCopy full SHA for 5a9c2cd
src/dialogxml/dialogs/dialog.cpp
@@ -887,8 +887,8 @@ void cDialog::process_keystroke(cKey keyHit){
887
ctrlIter iter = controls.begin();
888
bool enterKeyHit = keyHit.spec && keyHit.k == key_enter;
889
while(iter != controls.end()){
890
- if(iter->second->isVisible() && iter->second->isClickable()
891
- && iter->second->getAttachedKey() == keyHit || (iter->second->isDefault() && enterKeyHit)){
+ if((iter->second->isVisible() && iter->second->isClickable())
+ && (iter->second->getAttachedKey() == keyHit || (iter->second->isDefault() && enterKeyHit))){
892
893
iter->second->setActive(true);
894
draw();
0 commit comments