Skip to content

Commit

Permalink
Added null check before setting regmap path
Browse files Browse the repository at this point in the history
  • Loading branch information
ajn96 committed Aug 8, 2024
1 parent 1339ff6 commit 83a920b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TopGUI.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ Public Class TopGUI
Dim path As String = AppDomain.CurrentDomain.BaseDirectory + "UserConfig\custom_personality.csv"
Dim personality As New DutPersonality()
personality.DisplayName = DutPersonality.CUSTOM_PERSONALITY_STRING
personality.RegMapFileName = RegMapPath
If Not IsNothing(RegMapPath) Then personality.RegMapFileName = RegMapPath
personality.IsLowerFirst = m_isLowerWordFirst
If Not IsNothing(FX3) Then personality.GetSettingsFromFX3(FX3)

Expand Down

0 comments on commit 83a920b

Please sign in to comment.