mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 08:26:27 +02:00
Properties dialog: stop handling 'Enter' key - use 'Ok' to close it
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user