mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-11 13:09:18 +00:00
12 lines
580 B
Diff
12 lines
580 B
Diff
--- a/gui/controls.cpp
|
|
+++ b/gui/controls.cpp
|
|
@@ -691,7 +691,7 @@
|
|
.arg(mProgram->name())
|
|
+ QString(" (%1);;").arg(mProgram->name()) + tr("All files", "This is part of filter for 'select program' dialog. 'All files (*)'") + " (*)";
|
|
|
|
- QString fileName = !text().isEmpty() ? text() : "/usr/bin/" + mProgram->name();
|
|
+ QString fileName = !text().isEmpty() ? text() : "@TERMUX_PREFIX@/bin/" + mProgram->name();
|
|
|
|
fileName = QFileDialog::getOpenFileName(this, tr("Select program file"), fileName, flt);
|
|
if (!fileName.isEmpty())
|