File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public void DeletePlugin(Plugin plugin)
6161 return ;
6262 }
6363
64- _liveWriterPluginsRegistryKey . DeleteSubKey ( plugin . Name ) ;
64+ _liveWriterPluginsRegistryKey . DeleteValue ( plugin . Name , false ) ;
6565
6666 var file = new FileInfo ( plugin . Path ) ;
6767 var path = file . Directory ;
Original file line number Diff line number Diff line change 1- using GalaSoft . MvvmLight ;
1+ using System ;
2+ using GalaSoft . MvvmLight ;
23using GalaSoft . MvvmLight . Command ;
34using GalaSoft . MvvmLight . Messaging ;
45using LiveWriterPluginManager . Helpers ;
@@ -45,9 +46,9 @@ public RelayCommand DeletePluginCommand
4546
4647 await _messageService . ShowMessageAsync ( "Plugin deleted." ) ;
4748 }
48- catch
49+ catch ( Exception ex )
4950 {
50-
51+ var i = 1 ;
5152 }
5253 }
5354 } ) ;
You can’t perform that action at this time.
0 commit comments