X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fserverlist.cpp;h=f49708ca53b8661671afd50b1af74af70a34da7a;hp=146203eb82b377b7fa1509d90f14681a8b7c73cc;hb=8fc3a498f754f34b21d2a163e2a28323dae384cb;hpb=117a8a4d7ced61a3e374f20c74bea1834386a1d7 diff --git a/gui/serverlist.cpp b/gui/serverlist.cpp index 146203eb..f49708ca 100644 --- a/gui/serverlist.cpp +++ b/gui/serverlist.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005 by The Quassel Team * + * Copyright (C) 2005-07 by The Quassel Team * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -231,6 +231,8 @@ void NetworkEditDlg::updateWidgets() { //if(server["Exclude"].toBool()) item->setCheckState(Qt::Checked); ui.serverList->addItem(item); } + ui.performEdit->clear(); + ui.performEdit->setText( network["Perform"].toString() ); updateServerButtons(); } @@ -258,6 +260,7 @@ void NetworkEditDlg::accept() { /*if(ui.networkGroup->currentText() == "") network["Group"] = ""; else */ network["Group"] = ui.networkGroup->currentText(); network["AutoConnect"] = ui.enableAutoConnect->isChecked(); + network["Perform"] = ui.performEdit->toPlainText(); if(ui.identityList->currentIndex()) network["Identity"] = ui.identityList->currentText(); else network["Identity"] = "Default"; QDialog::accept();