Remove window help button from dialogs

This commit is contained in:
baldurk
2018-02-22 19:47:56 +00:00
parent ecb9faefe1
commit 8f7c15a984
3 changed files with 6 additions and 0 deletions
@@ -50,6 +50,8 @@ EnvironmentEditor::EnvironmentEditor(QWidget *parent)
{
ui->setupUi(this);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
auto commitLambda = [this](QKeyEvent *event) {
if(event->key() == Qt::Key_Return || event->key() == Qt::Key_Enter)
on_addUpdate_clicked();