From 050dbe08b14712fe192e2a7b0dd2ae3d5c70c007 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 10 Mar 2019 09:40:56 -0400 Subject: [PATCH] UserInteractions defaults to OK on LInux (#763) OKCancel is only used to chicken box overwritign a patch. Neither default is great, but chosing OK means at least the user action is not silently ignored. Closes #749 Will be greatly improved by the correct implementation of #562 Former-commit-id: ce10a4c1ba842ddc8fa92654c9505f53133db58d [formerly ee8dcca8e135bad70eac485d947fb8713698d35c] Former-commit-id: 3d535d44f84c4fd994dbd5696470b259bc276af9 Former-commit-id: bb6df1148a16c417842da807e30636e3c8f5b626 --- src/linux/UserInteractionsLinux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux/UserInteractionsLinux.cpp b/src/linux/UserInteractionsLinux.cpp index 20292665985..9571d35bb06 100644 --- a/src/linux/UserInteractionsLinux.cpp +++ b/src/linux/UserInteractionsLinux.cpp @@ -27,8 +27,8 @@ namespace Surge std::cerr << "Surge OkCancel\n" << title << "\n" << message << "\n" - << "Returning CANCEL" << std::flush; - return UserInteractions::CANCEL; + << "Returning OK" << std::flush; + return UserInteractions::OK; } void openURL(const std::string &url)