Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed potential crash when removing a tileset
When a tileset is removed its view was deleted before the tab was removed from the tab bar. This could lead to the case where currentTilesetDocument could return the wrong tileset or crash, even though currentTilesetView had returned a valid view. With this change, we make these functions behave consistently, which hopefully avoids such issues.
- Loading branch information