mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
added same trick on ESC
This commit is contained in:
parent
e34ed72ff7
commit
6cca74aec6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue