mirror of https://github.com/BOINC/boinc.git
Fix wild card in Exclusive Apps dialog for Linux (from Gianfranco Costamagna)
This commit is contained in:
parent
6352f9ca9d
commit
dbb669fc10
|
@ -800,9 +800,9 @@ void CDlgAdvPreferences::OnAddExclusiveApp(wxCommandEvent&) {
|
||||||
wxT("C:/Program Files"), wxT(""), wxT("*.exe"),
|
wxT("C:/Program Files"), wxT(""), wxT("*.exe"),
|
||||||
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
|
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
|
||||||
#else
|
#else
|
||||||
//TODO: fill in the default directory and wildcard for Linux
|
//TODO: fill in the default directory for Linux
|
||||||
wxFileDialog picker(this, _("Applications to add"),
|
wxFileDialog picker(this, _("Applications to add"),
|
||||||
wxT("/"), wxT(""), wxT("*.*"),
|
wxT("/"), wxT(""), wxT("*"),
|
||||||
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
|
wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_CHANGE_DIR|wxFD_MULTIPLE|wxFD_CHANGE_DIR);
|
||||||
#endif
|
#endif
|
||||||
if (picker.ShowModal() != wxID_OK) return;
|
if (picker.ShowModal() != wxID_OK) return;
|
||||||
|
|
Loading…
Reference in New Issue