Bug 137186

Summary: Even if ftp fails active seems the ftp one
Product: quanta Reporter: erkin tek <erkintek>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description erkin tek 2006-11-11 10:24:11 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages
OS:                Linux

I go, project -> open recent project -> ProjName[something@somewhere.com/ProjName.webprj]
and If I can't open the link (unimportant reason, can be network connection, wrong password etc.) This project got a check, that prevents selecting this again.
I need to open another project and to try again.

Expected  behavior is this project got uncheced, insted One that is active or none checked in the menu.
Comment 1 András Manţia 2007-01-09 20:37:10 UTC
SVN commit 621786 by amantia:

Do not set the current project mark to a project that could not be opened.
BUG: 137186


 M  +1 -0      ChangeLog  
 M  +2 -2      project/project.cpp  


--- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #621785:621786
@@ -8,6 +8,7 @@
       - use the correct encoding in the file dialogs [#138343]
       - don't lose upload profile settings in certain cases
       - fix symlink handling in Project Rescan, New Project adding files/folders [#138107]
+      - do not set the current project mark to a project that could not be opened [#137186]
 
 Version 3.5.5 (Release date: 11-10-2006; Started 01-09-2006):
  - bugfixes:
--- branches/KDE/3.5/kdewebdev/quanta/project/project.cpp #621785:621786
@@ -261,8 +261,8 @@
            == KMessageBox::Yes)
       {
         d->m_projectRecent->removeURL(url);
-      }
-      d->m_projectRecent->setCurrentItem(0);
+      } else
+        d->m_projectRecent->setCurrentItem(0);
     } else
     {
       d->loadProject ( url );