mirror of https://github.com/KLayout/klayout.git
Properties dialog: stop handling 'Enter' key - use 'Ok' to close it
This commit is contained in:
parent
d31c9dbf6c
commit
a601447d5f
|
|
@ -637,6 +637,12 @@ PropertiesDialog::reject ()
|
|||
QDialog::reject ();
|
||||
}
|
||||
|
||||
void
|
||||
PropertiesDialog::accept ()
|
||||
{
|
||||
// stop handling "Enter" key.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ public slots:
|
|||
|
||||
protected:
|
||||
void reject ();
|
||||
void accept ();
|
||||
|
||||
private:
|
||||
Ui::PropertiesDialog *mp_ui;
|
||||
|
|
|
|||
Loading…
Reference in New Issue