Bug 552682 - Filepicker is not shown in Fennec when saving file [Qt]. r=dougt

This commit is contained in:
Miika Jarvinen 2010-03-17 08:27:40 +02:00
parent 34ae432a12
commit 92c7d0a146

View File

@ -109,14 +109,15 @@ nsFilePicker::AppendFilter(const nsAString & aTitle, const nsAString & aFilter)
NS_IMETHODIMP
nsFilePicker::GetDefaultString(nsAString & aDefaultString)
{
mDefault = aDefaultString;
return NS_OK;
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsFilePicker::SetDefaultString(const nsAString & aDefaultString)
{
return NS_ERROR_FAILURE;
mDefault = aDefaultString;
return NS_OK;
}
/* attribute AString defaultExtension; */