- added confirmation status messages for clearing the recent files/projects lists
This commit is contained in:
@@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- fixed an error in Geo Editor when trying to save an empty Geometry
|
- fixed an error in Geo Editor when trying to save an empty Geometry
|
||||||
- in Preferences made sure that clicking the Restore Defaults will update the values in the Preferences Tab
|
- in Preferences made sure that clicking the Restore Defaults will update the values in the Preferences Tab
|
||||||
- some changes in the Tools visibility in the Tools ToolBar
|
- some changes in the Tools visibility in the Tools ToolBar
|
||||||
|
- added confirmation status messages for clearing the recent files/projects lists
|
||||||
|
|
||||||
24.11.2020
|
24.11.2020
|
||||||
|
|
||||||
|
|||||||
@@ -7568,6 +7568,7 @@ class App(QtCore.QObject):
|
|||||||
return
|
return
|
||||||
|
|
||||||
json.dump(self.recent, ff)
|
json.dump(self.recent, ff)
|
||||||
|
self.inform.emit('%s' % _("Recent files list was reset."))
|
||||||
|
|
||||||
def reset_recent_projects():
|
def reset_recent_projects():
|
||||||
# Reset menu
|
# Reset menu
|
||||||
@@ -7581,6 +7582,7 @@ class App(QtCore.QObject):
|
|||||||
return
|
return
|
||||||
|
|
||||||
json.dump(self.recent, frp)
|
json.dump(self.recent, frp)
|
||||||
|
self.inform.emit('%s' % _("Recent projects list was reset."))
|
||||||
|
|
||||||
# Reset menu
|
# Reset menu
|
||||||
self.ui.recent.clear()
|
self.ui.recent.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user