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 ();
|
QDialog::reject ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
PropertiesDialog::accept ()
|
||||||
|
{
|
||||||
|
// stop handling "Enter" key.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,7 @@ public slots:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void reject ();
|
void reject ();
|
||||||
|
void accept ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::PropertiesDialog *mp_ui;
|
Ui::PropertiesDialog *mp_ui;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue