mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
Fix project version check on preset load.
This commit is contained in:
@@ -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" ),
|
||||
|
||||
Reference in New Issue
Block a user