[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/kopete/config/identity
From:       Michaƫl Larouche <michael.larouche () kdemail ! net>
Date:       2005-10-18 20:35:51
Message-ID: 1129667751.847569.30776.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 471810 by mlarouche:

BUG: 114604

1. Go to Identity configuration & select some identity
2. Click Rename Identity, then Cancel

=> Identity name is now cleared

3. Click OK to close the config window
4. Go back to Identity configuration

=> The empty identity has been duplicated

Well this was fixed :)



 M  +4 -0      kopeteidentityconfig.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/kopete/config/identity/kopeteidentityconfig.cpp #471809:471810
@@ -428,6 +428,10 @@
 void KopeteIdentityConfig::slotRenameIdentity()
 {
 	QString renamedName = KInputDialog::getText(i18n("Rename Identity"), i18n("Identity name:"));
+
+	if(renamedName.isEmpty())
+		return;
+
 	if(!GlobalIdentitiesManager::self()->isIdentityPresent(renamedName))
 	{
 		GlobalIdentitiesManager::self()->renameIdentity(d->selectedIdentity, renamedName);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic