Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Unified Diff: chrome/browser/cocoa/shell_dialogs_mac.mm

Issue 155264: Set the save file type index properly (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/shell_dialogs_mac.mm
===================================================================
--- chrome/browser/cocoa/shell_dialogs_mac.mm (revision 20132)
+++ chrome/browser/cocoa/shell_dialogs_mac.mm (working copy)
@@ -326,6 +326,8 @@
// File type indexes are 1-based.
index = [popup indexOfSelectedItem] + 1;
}
+ } else {
+ index = 1;
}
} else {
NSArray* filenames = [panel filenames];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698