Skip to content

Commit

Permalink
UserInteractions defaults to OK on LInux (#763)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
baconpaul authored Mar 10, 2019
1 parent 76c7449 commit ee8dcca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linux/UserInteractionsLinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee8dcca

Please sign in to comment.