Commit 2bdc3570 authored by Geoffroy Couprie's avatar Geoffroy Couprie

while I'm at it: don't crash either if I select something in getOpenFileNames

parent b039abe9
......@@ -312,7 +312,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
if(i == 0)
p_intf->p_sys->filepath = QString::fromAscii("");
else
p_intf->p_sys->filepath = qfu( p_arg->psz_results[i] );
p_intf->p_sys->filepath = qfu( p_arg->psz_results[i-1] );
}
/* Callback */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment