Skip to content

Commit

Permalink
Add missing file to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
samamou committed Dec 27, 2024
1 parent 00d2d3c commit 13487a2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#include <QDialogButtonBox>
#include <QFile>
#include <QPlainTextEdit>
#include <QProcess>
#include <QPushButton>
#include <QStandardPaths>
#include <QTabWidget>
#include <QVBoxLayout>

Expand Down Expand Up @@ -50,6 +52,10 @@ ScriptDialog::ScriptDialog(
connect(
bbox->button(QDialogButtonBox::Close), &QPushButton::clicked, this,
&QDialog::close);

auto openExternalBtn = new QPushButton{tr("Open in external editor.."), this};
connect(openExternalBtn, &QPushButton::clicked, this, [this] {});
lay->addWidget(openExternalBtn);
}

QString ScriptDialog::text() const noexcept
Expand Down Expand Up @@ -150,4 +156,4 @@ void MultiScriptDialog::clearError()
m_error->clear();
}

}
void ScriptDialog::openInExternalEditor() { }

0 comments on commit 13487a2

Please sign in to comment.