diff --git a/src/gui/DatabaseTabWidget.cpp b/src/gui/DatabaseTabWidget.cpp index 57df2a78f..a09c2d11e 100644 --- a/src/gui/DatabaseTabWidget.cpp +++ b/src/gui/DatabaseTabWidget.cpp @@ -22,6 +22,7 @@ #include #include "core/Database.h" +#include "core/Group.h" #include "core/Metadata.h" #include "gui/DatabaseWidget.h" #include "gui/FileDialog.h" @@ -62,6 +63,7 @@ void DatabaseTabWidget::newDatabase() { DatabaseManagerStruct dbStruct; Database* db = new Database(); + db->rootGroup()->setName(tr("Root")); dbStruct.dbWidget = new DatabaseWidget(db, this); insertDatabase(db, dbStruct);