Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_FileAction < Window_HorzCommand
- #--------------------------------------------------------------------------
- # delete_enabled?
- #--------------------------------------------------------------------------
- def delete_enabled?
- return false if @header.nil?
- return false if @file_window.index == 0
- return true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement