зеркало из https://github.com/mozilla/pjs.git
Bug 665987 - Win32 nsFilePicker does not clear out mFiles. r=jmathies
This commit is contained in:
Родитель
cb107c6125
Коммит
807652ba92
|
@ -361,6 +361,9 @@ NS_IMETHODIMP nsFilePicker::ShowW(PRInt16 *aReturnVal)
|
||||||
// Remember what filter type the user selected
|
// Remember what filter type the user selected
|
||||||
mSelectedType = (PRInt16)ofn.nFilterIndex;
|
mSelectedType = (PRInt16)ofn.nFilterIndex;
|
||||||
|
|
||||||
|
// Clear out any files from previous Show calls
|
||||||
|
mFiles.Clear();
|
||||||
|
|
||||||
// Set user-selected location of file or directory
|
// Set user-selected location of file or directory
|
||||||
if (mMode == modeOpenMultiple) {
|
if (mMode == modeOpenMultiple) {
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче