Bug 137186 - Even if ftp fails active seems the ftp one
Summary: Even if ftp fails active seems the ftp one
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 10:24 UTC by erkin tek
Modified: 2007-01-09 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 );