From ee8dcca8e135bad70eac485d947fb8713698d35c 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 --- 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)