Gu: fix readonly AccelLineEdit
This commit is contained in:
@@ -382,6 +382,11 @@ bool AccelLineEdit::isNone() const
|
||||
*/
|
||||
void AccelLineEdit::keyPressEvent (QKeyEvent * e)
|
||||
{
|
||||
if (isReadOnly()) {
|
||||
QLineEdit::keyPressEvent(e);
|
||||
return;
|
||||
}
|
||||
|
||||
QString txtLine = text();
|
||||
|
||||
int key = e->key();
|
||||
|
||||
Reference in New Issue
Block a user