Skip to content

Commit

Permalink
Fix crash on startup when there are no saved tabs to load.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsimpso committed Feb 13, 2022
1 parent bfb84bb commit 63d89aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@

;; load any saved tabs, else initialize one new tab
(unless (load-tabs tab-panel)
(send tab-panel append "New")
(send tab-panel append "Introduction")
(init-new-tab tab-panel 0)
(send tab-panel set-selection 0)
(goto-help-page tab-panel))

;(send tab-panel set-selection 0)
Expand Down

0 comments on commit 63d89aa

Please sign in to comment.