diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2008-11-26 17:13:50 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2008-11-26 17:13:50 +0000 |
commit | 38382b792113cbf23881c1dca64e16c2d0207d45 (patch) | |
tree | 5fb1185a6f21ecc769a4c229fc0f6b7415eabaf5 /libs/ardour/tempo_map_importer.cc | |
parent | 95a86871c028ab7f0ae16608adb9b86495678d50 (diff) |
More work on track import and some cleaning up of ElementImporter interface
git-svn-id: svn://localhost/ardour2/branches/3.0@4265 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/tempo_map_importer.cc')
-rw-r--r-- | libs/ardour/tempo_map_importer.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libs/ardour/tempo_map_importer.cc b/libs/ardour/tempo_map_importer.cc index 45f2c90dfa..07e6dd06e4 100644 --- a/libs/ardour/tempo_map_importer.cc +++ b/libs/ardour/tempo_map_importer.cc @@ -83,26 +83,20 @@ TempoMapImporter::get_info () const } bool -TempoMapImporter::prepare_move () +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?")); - - if (replace) { - queued = true; - } - return replace; } void -TempoMapImporter::cancel_move () +TempoMapImporter::_cancel_move () { - queued = false; } void -TempoMapImporter::move () +TempoMapImporter::_move () { session.tempo_map().set_state (xml_tempo_map); } |