mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Fix issue MR-410 - Unhandled exception when clicking New button under Theme
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user