correct usage of return value from Session::Prompt signal
git-svn-id: svn://localhost/ardour2/branches/3.0@6417 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -87,8 +87,8 @@ bool
|
||||
TempoMapImporter::_prepare_move ()
|
||||
{
|
||||
// Prompt user for verification
|
||||
bool replace = Prompt (_("This will replace the current tempo map!\nAre you shure you want to do this?"));
|
||||
return replace;
|
||||
boost::optional<bool> replace = Prompt (_("This will replace the current tempo map!\nAre you shure you want to do this?"));
|
||||
return replace.get_value_or (false);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user