TheSerioliOfNosgoth / ModelEx

A tool for viewing and exporting the 3D models in Legacy of Kain: Soul Reaver 1 & 2, Defiance, Gex 3: Deep Cover Gecko, Tomb Raider: Legend and Tomb Raider: Anniversary
Other
20 stars 3 forks source link

Closing Load Resource dialog without selecting folder with Close button crashes into unhadled exception #20

Closed Twilight-Messiah closed 1 year ago

Twilight-Messiah commented 1 year ago

System.NullReferenceException: Object reference does not point to object instance. in ModelEx.LoadResourceDialog.LoadResourceDialog_FormClosing(Object sender, FormClosingEventArgs e) in C:\Users\Andrew\Documents\GitHub\ModelEx5\ModelEx\LoadResourceDialog.cs:line 175 in System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e) in System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)

image

TheIndra55 commented 1 year ago

Fixed in #19