Replace `isinstance` checks for specific CursorTools with `hasattr` #2063

Merged
merged 1 commit into from Mar 30, 2013

Projects

None yet

2 participants

@ChrisOelmueller
Unknown Horizons member

Perhaps the lesser of two evils here, as suggested by @totycro
Fixes #2051 Pressing Esc in resource overview bar crashes

@ChrisOelmueller ChrisOelmueller Replace isinstance checks for specific CursorTools with hasattr
Perhaps the lesser of two evils here, as suggested by @totycro
Fixes #2051  Pressing Esc in resource overview bar crashes
79be1da
@nihathrael nihathrael merged commit c0b193d into master Mar 30, 2013
@nihathrael nihathrael deleted the 2051 branch Mar 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment