View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016021 | Scribus | General | public | 2019-12-23 11:06 | 2020-04-05 19:37 |
| Reporter | ale | Assigned To | ale | ||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.5.6.svn | ||||
| Fixed in Version | 1.5.6.svn | ||||
| Summary | 0016021: Open recent menu: put the accelerator on the number | ||||
| Description | currently the accelerator is put at the beginning of the path, which will always be / on linux and C (or D) on windows. the patch puts the accelerator before the indexing number... | ||||
| Tags | No tags attached. | ||||
| Attached Files | recent-files.diff (1,004 bytes)
diff --git a/scribus/scribus.cpp b/scribus/scribus.cpp
index 030d77f68..e0918ddcf 100644
--- a/scribus/scribus.cpp
+++ b/scribus/scribus.cpp
@@ -2965,7 +2965,7 @@ void ScribusMainWindow::rebuildRecentFileMenu()
strippedName = localName = QDir::toNativeSeparators(m_recentDocsList[i]);
strippedName.remove(QDir::separator());
strippedName.prepend(QString("%1").arg(i+1, 2, 10, QChar('0')));
- scrRecentFileActions.insert(strippedName, new ScrAction(ScrAction::RecentFile, QPixmap(), QPixmap(), QString("%1 &%2").arg(i+1).arg(localName.replace("&","&&")), QKeySequence(), this, m_recentDocsList[i]));
+ scrRecentFileActions.insert(strippedName, new ScrAction(ScrAction::RecentFile, QPixmap(), QPixmap(), QString("&%1 %2").arg(i+1).arg(localName.replace("&","&&")), QKeySequence(), this, m_recentDocsList[i]));
connect( scrRecentFileActions[strippedName], SIGNAL(triggeredData(QString)), this, SLOT(loadRecent(QString)) );
scrMenuMgr->addMenuItemString(strippedName, "FileOpenRecent");
}
| ||||
| Patch | Yes | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-12-23 11:06 | ale | New Issue | |
| 2019-12-23 11:06 | ale | File Added: recent-files.diff | |
| 2019-12-26 03:19 | jghali | Summary | [PATCH]: Open recent menu: put the accelerator on the number => Open recent menu: put the accelerator on the number |
| 2019-12-26 03:19 | jghali | Assigned To | => jghali |
| 2019-12-26 03:19 | jghali | Status | new => resolved |
| 2019-12-26 03:19 | jghali | Resolution | open => fixed |
| 2019-12-26 03:19 | jghali | Fixed in Version | => 1.5.6.svn |
| 2019-12-26 04:42 | jghali | Assigned To | jghali => ale |
| 2020-04-05 19:37 | cbradney | Status | resolved => closed |