aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/spawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/spawn.cpp b/src/src/spawn.cpp
index d94fbae..6cb925e 100644
--- a/src/src/spawn.cpp
+++ b/src/src/spawn.cpp
@@ -1026,7 +1026,7 @@ pid_t startBinary(QWidget *parent, const SpawnParameters &sp) {
const auto e = spawn::spawn(sp, pid);
if (e != 0) {
- if (e == ENOENT && sp.useProton) {
+ if (e == ENOENT && sp.useProton && !FluorineConfig::isSetup()) {
QMessageBox::critical(
parent, QObject::tr("No Wine Prefix"),
QObject::tr("No Wine prefix has been configured for this instance.\n\n"