Commit 4cdd7964 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Warn about empty remote directory in local mode

parent d8ce7fe4
......@@ -1607,6 +1607,12 @@ void Capture::addJob(bool preview)
return;
}
if (uploadModeCombo->currentIndex() != ISD::CCD::UPLOAD_CLIENT && remoteDirIN->text().isEmpty())
{
KMessageBox::error(this, i18n("You must set remote remote directory for Local & Both modes."));
return;
}
if (jobUnderEdit)
job = jobs.at(queueTable->currentRow());
else
......
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