summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/tracedialog.cpp2
-rw-r--r--gui/ui/tracedialog.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/tracedialog.cpp b/gui/tracedialog.cpp
index fcfdf466..b8e438d9 100644
--- a/gui/tracedialog.cpp
+++ b/gui/tracedialog.cpp
@@ -50,7 +50,7 @@ void TraceDialog::browse()
tr("Find the application"),
QDir::currentPath());
- if (isFileOk(fileName)) {
+ if (!fileName.isEmpty() && isFileOk(fileName)) {
applicationEdit->setText(fileName);
}
}
diff --git a/gui/ui/tracedialog.ui b/gui/ui/tracedialog.ui
index a3e5240a..f6eccf44 100644
--- a/gui/ui/tracedialog.ui
+++ b/gui/ui/tracedialog.ui
@@ -47,7 +47,7 @@
<item>
<widget class="QPushButton" name="browseButton">
<property name="text">
- <string>Browse</string>
+ <string>Browse...</string>
</property>
<property name="flat">
<bool>false</bool>