fix for null pointer crash after hitting OK on edit res dialog
Authored by: pauldana 2005-05-16
Parent: [r190]
Child: [r192]