forked from phendryx/superputty
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs on initial create and null exception.
For the null exception, it's when the last tab gets closed and the code tries to focus on ActiveDocument. Since it no longer exists, a null pointer exception is thrown. The second bug is on the creation of the first tab. It needs to be focused after it is created.
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters