Commit b43e6ece authored by Akarsh Simha's avatar Akarsh Simha

Enable newly created SyncedCatalogComponent catalogs by default.

This ensures that any newly created SyncedCatalogComponent-based
catalog is enabled by default at startup.
parent f9fdbbbc
......@@ -51,6 +51,7 @@ SyncedCatalogComponent::SyncedCatalogComponent( SkyComposite *parent,
db->AddCatalog( catData );
m_catId = db->FindCatalog( catname );
loadData();
Options::setShowCatalogNames( Options::showCatalogNames() << catname );
}
Q_ASSERT( m_catId >= 0 );
m_catColor = "#ff0000"; // FIXME: HARDCODED!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment