zhaladshar / AssetLedger

0 stars 0 forks source link

Find workaround for clicking "New" asset when no asset types exist #37

Closed zhaladshar closed 7 years ago

zhaladshar commented 8 years ago

Currently, the program bombs out when this happens. We need to handle this gracefully.

zhaladshar commented 7 years ago

The problem was in the method "showHideDisposalInfo." The method now checks that assetTypeId is not None before trying to determine the show/hide status.