Skip to content

Commit

Permalink
UserInteractions defaults to OK on LInux (surge-synthesizer#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 surge-synthesizer#749
Will be greatly improved by the correct implementation of surge-synthesizer#562

Former-commit-id: ce10a4c1ba842ddc8fa92654c9505f53133db58d [formerly ee8dcca]
Former-commit-id: 3d535d44f84c4fd994dbd5696470b259bc276af9
Former-commit-id: bb6df1148a16c417842da807e30636e3c8f5b626
  • Loading branch information
baconpaul authored Mar 10, 2019
1 parent 0c8da7c commit 050dbe0
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 050dbe0

Please sign in to comment.