Merge pull request #394 from wevsty/patch-1
Fix AddAutoExe Unable to select file
This commit is contained in:
commit
97e61b48f6
|
@ -741,7 +741,7 @@ void COptionsWindow::OnAddAutoCmd()
|
|||
|
||||
void COptionsWindow::OnAddAutoExe()
|
||||
{
|
||||
QString Value = QFileDialog::getOpenFileName(this, tr("Select Program"), "", tr("Executables (*.exe|*.cmd)")).replace("/", "\\");;
|
||||
QString Value = QFileDialog::getOpenFileName(this, tr("Select Program"), "", tr("Executables (*.exe *.cmd);;All files (*.*)")).replace("/", "\\");;
|
||||
if (Value.isEmpty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue