From 0195084a51a08b09fac0524963587cc50f2d7226 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Wed, 31 Jul 2019 19:18:55 +0300 Subject: [PATCH] - added categories names for the recent files --- FlatCAMApp.py | 12 ++++++++++++ README.md | 1 + 2 files changed, 13 insertions(+) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index b60df560..1936e044 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -8294,6 +8294,12 @@ class App(QtCore.QObject): # Create menu items # First add tbe projects + # Title + action = QtWidgets.QAction("Recent Projects", self) + myFont = QtGui.QFont() + myFont.setBold(True) + action.setFont(myFont) + self.ui.recent.addAction(action) for recent in self.recent: filename = recent['filename'].split('/')[-1].split('\\')[-1] @@ -8314,6 +8320,12 @@ class App(QtCore.QObject): self.ui.recent.addSeparator() # Then add tbe rest of the files + # Title + action = QtWidgets.QAction("Recent Files", self) + myFont = QtGui.QFont() + myFont.setBold(True) + action.setFont(myFont) + self.ui.recent.addAction(action) for recent in self.recent: filename = recent['filename'].split('/')[-1].split('\\')[-1] diff --git a/README.md b/README.md index e07ea442..bbb7c921 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ CAD program, and create G-Code for Isolation routing. - changed the order of the menu entries in the FIle -> Open ... - organized the list of recent files so the Project entries are to the top and separated from the other types of file - work on identification of changes in Preferences tab +- added categories names for the recent files 30.07.2019