TODO list update. Initial screen for pro mode
[scorecard] / src / main-window.cpp
index 154ba3e..08e61fd 100644 (file)
@@ -252,7 +252,7 @@ void MainWindow::loadSettings(void)
     // Start of 0.19 migration
     // Copy existing user data to new location
     // 0.18 and earlier: score.xml and club.xml are in /opt/scorecard/data
-    // 0.19 and later: score.xml and club.xml are in /home/user/.scorecard
+    // 0.19 and later: score.xml and club.xml are in /home/user/MyDocs/.scorecard
     QString scoreFileOld = dataDir + "/" + scoreFileName;
     QString clubFileOld = dataDir + "/" + clubFileName;
 
@@ -476,6 +476,8 @@ void MainWindow::newScore()
         QString title = "New Score: " + courseName + ", " + date;
         scoreDialog->setWindowTitle(title);
 
+        qDebug() << clubName << courseName;
+
         Club *club = findClub(clubName);
         if (!club) {
             showNote(tr("No club"));
@@ -486,6 +488,7 @@ void MainWindow::newScore()
             showNote(tr("Error: no such course:"));
             return;
         }
+        
         scoreDialog->init(course);
         result = scoreDialog->exec();
         if (result) {