summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/configtab.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/tools/remote/configtab.cpp b/noncore/tools/remote/configtab.cpp
index af2b5ff..7951772 100644
--- a/noncore/tools/remote/configtab.cpp
+++ b/noncore/tools/remote/configtab.cpp
@@ -212,4 +212,12 @@ void ConfigTab::remoteSelected(const QString &string)
212void ConfigTab::buttonPressed() 212void ConfigTab::buttonPressed()
213{ 213{
214 QString curr_remote = topGroupConf->getRemotesText();
215 if(curr_remote != "")
216 cfg->setGroup(curr_remote);
217 else {
218 QMessageBox::warning(this, tr("Error"), tr("Please select or create\na remote layout"), QMessageBox::Ok, QMessageBox::NoButton);
219 return;
220 }
221
214 const QObject *button = sender(); 222 const QObject *button = sender();
215 QString string = button->name(); 223 QString string = button->name();