Commit 1e4b8768 authored by Christopher Yeleighton's avatar Christopher Yeleighton
Browse files

Make working directory gadget pick a directory.

parent a0664e7a
Pipeline #77182 canceled with stage
...@@ -147,6 +147,7 @@ KateExternalToolServiceEditor::KateExternalToolServiceEditor(KateExternalTool *t ...@@ -147,6 +147,7 @@ KateExternalToolServiceEditor::KateExternalToolServiceEditor(KateExternalTool *t
ui.edtArgs->setText(m_tool->arguments); ui.edtArgs->setText(m_tool->arguments);
ui.edtInput->setText(m_tool->input); ui.edtInput->setText(m_tool->input);
ui.edtWorkingDir->setText(m_tool->workingDir); ui.edtWorkingDir->setText(m_tool->workingDir);
ui.edtWorkingDir->setMode(KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly);
ui.edtMimeType->setText(m_tool->mimetypes.join(QStringLiteral("; "))); ui.edtMimeType->setText(m_tool->mimetypes.join(QStringLiteral("; ")));
ui.cmbSave->setCurrentIndex(static_cast<int>(m_tool->saveMode)); ui.cmbSave->setCurrentIndex(static_cast<int>(m_tool->saveMode));
ui.chkReload->setChecked(m_tool->reload); ui.chkReload->setChecked(m_tool->reload);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment