Permalink
Browse files

Fix issue MR-410 - Unhandled exception when clicking New button under…

… Theme
  • Loading branch information...
1 parent 38011a3 commit 72756a2bb830ac559357f5f1a0b29cb7c717d045 @rmcardle rmcardle committed Mar 20, 2013
Showing with 7 additions and 1 deletion.
  1. +2 −0 CHANGELOG.TXT
  2. +5 −1 mRemoteV1/Themes/ThemeManager.vb
View
@@ -1,3 +1,5 @@
+ Fixed issue MR-410 - Unhandled exception when clicking New button under Theme
+
1.71 Beta 2 (2013-03-19):
Added feature MR-336 - Customizable background color for the windows/panels
Added feature MR-345 - Two separate options for confirming closure of Tabs and Connection Panels
@@ -24,7 +24,11 @@ Namespace Themes
Public Shared Function LoadThemes() As List(Of ThemeInfo)
Dim themes As New List(Of ThemeInfo)
themes.Add(DefaultTheme)
- themes.AddRange(ThemeSerializer.LoadFromXmlFile(Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName)))
+ Try
+ themes.AddRange(ThemeSerializer.LoadFromXmlFile(Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName)))
+ Catch ex As FileNotFoundException
+ End Try
+
Return themes
End Function

0 comments on commit 72756a2

Please sign in to comment.