Make MIDI region `automation' respect the automation mode so that it is
[ardour.git] / libs / ardour / tempo_map_importer.cc
index 1f9f5186148b884affd6b7962a3d72e802965269..b170aea8ea9a2bfb2389f227e383369335aafb4c 100644 (file)
@@ -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