blob: 3394423d069dc41728c5d459453b004ac5ec3c0d (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "enter_combo.h"
void EnterCombo::keyPressEvent( QKeyEvent *e ){
if(e->key() == Key_Return || e->key() == Key_Enter)
emit(enterPressed());
else
QComboBox::keyPressEvent(e);
}
#include "enter_combo.moc"
|