From b7b65f4e646c4ba9116843370a7c0597f747f466 Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Sun, 14 Apr 2019 19:53:24 +0200 Subject: [PATCH] fix #287698: Crash when finishing Setup Wizard with tempo box checked in 3.1 Beta --- mscore/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mscore/file.cpp b/mscore/file.cpp index 7cbea89139eda..52f8f917b2bcb 100644 --- a/mscore/file.cpp +++ b/mscore/file.cpp @@ -759,7 +759,7 @@ MasterScore* MuseScore::getNewFile() tt->setTrack(0); Segment* seg = score->firstMeasure()->first(SegmentType::ChordRest); seg->add(tt); - score->setTempo(0, tempo); + score->setTempo(Fraction::fromTicks(0), tempo); } if (!copyright.isEmpty()) score->setMetaTag("copyright", copyright);