Stephanie There is no undo button, but Tonfotos uses system recyclye bin for that. This is where you can find your deleted files. However, this is only if your drive actually supports recycle bin, otherwise files will be just deleted, and you will need to use file recovery utilites to get them back.
To avoid irreversible deletion please make sure recycle bin is turned on on the drive where you store your photos. How exactly to do that will depend on your OS version and particular drive type.