Skip to content

Commit

Permalink
[FIX] Quick fix for wrong warning in uninstall plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fvpolpeta committed Jun 22, 2016
1 parent 1c5d495 commit 916b62e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PluginManagerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ - (IBAction)modifiyActivation:(id)sender;

- (IBAction) delete:(id)sender;
{
if ([[pluginsArrayController arrangedObjects] count] == 0)
return;

if( NSRunInformationalAlertPanel(NSLocalizedString(@"Delete a plugin", nil),
NSLocalizedString(@"Are you sure you want to delete the selected plugin?", nil),
NSLocalizedString(@"OK",nil),
Expand Down

0 comments on commit 916b62e

Please sign in to comment.