Commit 38c77219 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Create initial learner identities.

parent 253cef0d
......@@ -107,6 +107,11 @@ MainWindow::MainWindow()
// settings from kcfg values
updateTrainingPhraseFont();
// create training profile if none exists:
if (!m_profileManager->activeProfile()) {
m_profileManager->addProfile("Unnamed Identity"); //TODO use i18n for 4.14
}
// set initial view
m_view->rootObject()->setProperty("viewMode", Trainer);
......
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