From d9f89eb5c0256653ab94f4fa1f3c6ea5f584e824 Mon Sep 17 00:00:00 2001 From: Naresh Mehta Date: Tue, 10 Aug 2010 20:33:25 +0200 Subject: [PATCH] Fixed a minor bug wherein a new profile added, will always have its steps replaced by the steps of the first profile if any. Fixed and tested. Working fine now. The Alpha ARMEL is updated in the release. Also submitted to extras-devel. --- addprofile.cpp | 1 + src/addprofile.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/addprofile.cpp b/addprofile.cpp index f9c4635..ac843a5 100644 --- a/addprofile.cpp +++ b/addprofile.cpp @@ -88,6 +88,7 @@ void AddProfile::on_addProRemoveStep_clicked() void AddProfile::clear() { + mSteps.clear(); ui->addProStepList->clear(); ui->addProName->setText(QString::null); } diff --git a/src/addprofile.cpp b/src/addprofile.cpp index f9c4635..ac843a5 100644 --- a/src/addprofile.cpp +++ b/src/addprofile.cpp @@ -88,6 +88,7 @@ void AddProfile::on_addProRemoveStep_clicked() void AddProfile::clear() { + mSteps.clear(); ui->addProStepList->clear(); ui->addProName->setText(QString::null); } -- 1.7.9.5