From 5f32c361e4b2b61d8a8acee99c452d838aa9207f Mon Sep 17 00:00:00 2001 From: Spekular Date: Tue, 3 Feb 2015 20:43:42 +0100 Subject: [PATCH] Fix project version check on preset load. --- src/core/DataFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/DataFile.cpp b/src/core/DataFile.cpp index 8db694367..1e79b0c08 100644 --- a/src/core/DataFile.cpp +++ b/src/core/DataFile.cpp @@ -804,7 +804,7 @@ void DataFile::loadData( const QByteArray & _data, const QString & _sourceFile ) // only one compareType needs to be set, and we can compare on one line because setCompareType returns ProjectVersion if ( createdWith.setCompareType(Minor) != openedWith) { - if( Engine::hasGUI() ) + if( Engine::hasGUI() && root.attribute( "type" ) == "song" ) //documentElement() { QMessageBox::information( NULL, SongEditor::tr( "Project Version Mismatch" ),