diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 55eaadd..dd53dcc 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -2485,6 +2485,7 @@ void TabContents::RunFileChooser( dialog_type = SelectFileDialog::SELECT_SAVEAS_FILE; break; default: + dialog_type = SelectFileDialog::SELECT_OPEN_FILE; // Prevent warning. NOTREACHED(); } select_file_dialog_->SelectFile(dialog_type, params.title, |