refresh the history menu when user stops listening to a project. close #1784

This commit is contained in:
Antoine Mercadal
2013-02-21 14:33:17 -08:00
parent bc2b26132a
commit 17695ff77c
+2 -1
View File
@@ -306,7 +306,8 @@ float heightForStringDrawing(NSString *myString, NSFont *myFont, float myWidth)
[_statusItem setImage:_iconInactive];
[menuItemStartStop setTitle:@"Listen to Project…"];
[menuItemStartStop setAction:@selector(chooseFolder:)];
[self _prepareHistoryMenu];
[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"LastOpenedPath"];
}