git-svn-id: svn://db.shs.com.ru/libs@75 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -754,11 +754,11 @@ void KX_Pult::progress(int val, int max) {
|
||||
}
|
||||
|
||||
|
||||
void KX_Pult::renew() {
|
||||
void KX_Pult::renew(bool write) {
|
||||
addToList(trUtf8("Update settings from \"%1\"").arg(PI2QString(config_)), Qt::darkMagenta);
|
||||
dir.setPath(config.getValue("x.output_dir", "./Experiments/").stringValue());
|
||||
setWindowTitle(config.getValue("title", "Noname").stringValue() + trUtf8(" - KX Pult"));
|
||||
ui->configWidget->write();
|
||||
//if (write) ui->configWidget->write();
|
||||
if (prot_x != 0) {
|
||||
prot_x->stop();
|
||||
delete prot_x;
|
||||
|
||||
@@ -122,7 +122,7 @@ private slots:
|
||||
void updateTree(bool move = false);
|
||||
void filterTree();
|
||||
void calculate();
|
||||
void renew();
|
||||
void renew(bool write = true);
|
||||
void toggledX(int index, bool on);
|
||||
void changedX(int index, int num);
|
||||
void k_sendFailed();
|
||||
|
||||
Reference in New Issue
Block a user