13
0

Tempo dialog is modal, grab focus from parent

This commit is contained in:
Robin Gareus 2023-05-14 17:00:20 +02:00
parent cceb917806
commit bcafa3d6aa
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -50,7 +50,7 @@ using namespace PBD;
using namespace Temporal;
TempoDialog::TempoDialog (TempoMap::SharedPtr const & map, timepos_t const & pos, const string&)
: ArdourDialog (_("New Tempo"))
: ArdourDialog (_("New Tempo"), true)
, _map (map)
, _section (0)
, bpm_adjustment (60.0, 1.0, 999.9, 0.1, 1.0)
@ -71,7 +71,7 @@ TempoDialog::TempoDialog (TempoMap::SharedPtr const & map, timepos_t const & pos
}
TempoDialog::TempoDialog (TempoMap::SharedPtr const & map, TempoPoint& point, const string&)
: ArdourDialog (_("Edit Tempo"))
: ArdourDialog (_("Edit Tempo"), true)
, _map (map)
, _section (&point)
, bpm_adjustment (60.0, 1.0, 999.9, 0.1, 1.0)