require host path, access/secret keys populated (#52)
parent
f386349e8b
commit
8216ec0c63
|
@ -253,6 +253,12 @@ void Settings::onBrowseClicked() {
|
|||
}
|
||||
|
||||
void Settings::onTestConnectionClicked() {
|
||||
if (hostPathTextBox->text().isEmpty()
|
||||
|| accessKeyTextBox->text().isEmpty()
|
||||
|| secretKeyTextBox->text().isEmpty()) {
|
||||
connStatusLabel->setText("Please set Access Key, Secret key and Host Path first.");
|
||||
return;
|
||||
}
|
||||
testConnectionButton->startAnimation();
|
||||
testConnectionButton->setEnabled(false);
|
||||
currentTestReply = NetMan::getInstance().testConnection(
|
||||
|
|
Loading…
Reference in New Issue