summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/tempo_map_importer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/tempo_map_importer.cc b/libs/ardour/tempo_map_importer.cc
index 1f9f518614..b170aea8ea 100644
--- a/libs/ardour/tempo_map_importer.cc
+++ b/libs/ardour/tempo_map_importer.cc
@@ -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