File Reading: add revert operator

Patch D247 by Evans Jahja with edits
This commit is contained in:
2014-01-29 05:34:57 +11:00
parent 8c688a052c
commit 5643c29fbe
2 changed files with 34 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ class INFO_MT_file(Menu):
layout.operator("wm.read_homefile", text="New", icon='NEW')
layout.operator("wm.open_mainfile", text="Open...", icon='FILE_FOLDER')
layout.menu("INFO_MT_file_open_recent", icon='OPEN_RECENT')
layout.operator("wm.revert_mainfile", icon='FILE_REFRESH')
layout.operator("wm.recover_last_session", icon='RECOVER_LAST')
layout.operator("wm.recover_auto_save", text="Recover Auto Save...", icon='RECOVER_AUTO')