Remove window help button from dialogs

This commit is contained in:
baldurk committed 2018-02-22 19:47:56 +00:00
1 parent ecb9faefe1
commit 8f7c15a984
3 files changed
+6

No files matched your search

@@ -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();