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