mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
added same trick on ESC
This commit is contained in:
parent
e34ed72ff7
commit
6cca74aec6
@ -152,7 +152,7 @@ void CreateCircleDialog::reject()
|
||||
|
||||
void CreateCircleDialog::keyPressEvent(QKeyEvent *e)
|
||||
{
|
||||
if(e->key() != Qt::Key_Escape)
|
||||
if(e->key() != Qt::Key_Escape || tryClose())
|
||||
QDialog::keyPressEvent(e);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user