Summary: | "Open recent" list doesn't reorder when a file is opened | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | greatbunzinni |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch |
Description
greatbunzinni
2005-08-30 12:28:18 UTC
Created attachment 17686 [details]
Patch
i forgot to mention that this patch should be applied on the branch 3.5. (but it should be ok for the trunk too). SVN commit 582767 by okellogg: BUG:111757 - slotFileOpenRecent(): Patch from Vincent Ricard adds missing addURL() call. M +1 -0 ChangeLog M +2 -0 umbrello/uml.cpp --- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #582766:582767 @@ -5,6 +5,7 @@ * Bugs/wishes from http://bugs.kde.org: * "role A properties" should give class name (69244) * Sharing designs, Folders, 3rd Party imports (87252, reimplementation) +* "Open recent" list doesn't reorder when a file is opened (111757) * Properties menu: move to top/bottom buttons (126467) * Java import - importing interfaces - absent visibility treated as package instead of public (131327) --- branches/KDE/3.5/kdesdk/umbrello/umbrello/uml.cpp #582766:582767 @@ -720,6 +720,8 @@ if(!m_doc->openDocument(url)) { fileOpenRecent->removeURL(url); fileOpenRecent->setCurrentItem( -1 ); + } else { + fileOpenRecent->addURL(url); } enablePrint(true); setCaption(m_doc->URL().fileName(), false); |