]> Shamusworld >> Repos - schematic/blobdiff - src/mainwin.cpp
Fix to show user's notes when they log in.
[schematic] / src / mainwin.cpp
index fc1ec2f44140a283c685a5259f3a4f7e276294e2..5feacc5c1cb9c082d91770d65b9b3d883dd757c7 100644 (file)
@@ -198,6 +198,8 @@ MainWindow::MainWindow(): aboutWin(new AboutWindow(this)),
        scmWidget = new SCMWidget(this);
        QString s = QString("User: %1 (%2)").arg(fullName).arg(login);
        scmWidget->username->setText(s);
+       scmWidget->currentUID = loggedInUID;
+       scmWidget->UpdateNotes();
        setCentralWidget(scmWidget);
 }