OSDN Git Service

fixes #26153 コメントディレクトリ設定誤り修正
authoryukihane <yukihane.feather@gmail.com>
Mon, 29 Aug 2011 15:17:03 +0000 (00:17 +0900)
committeryukihane <yukihane.feather@gmail.com>
Mon, 29 Aug 2011 15:17:03 +0000 (00:17 +0900)
frontend/src/yukihane/inqubus/gui/MainFrame.java

index d1c78e1..77dbb80 100644 (file)
@@ -881,15 +881,15 @@ public class MainFrame extends JFrame {
 
         private InqubusCommentProfile() {
             final Config p = Config.INSTANCE;
 
         private InqubusCommentProfile() {
             final Config p = Config.INSTANCE;
-            this.download = !cbVideoLocal.isSelected();
+            this.download = !cbCommentLocal.isSelected();
             if (this.download) {
             if (this.download) {
-                this.dir = new File(p.getVideoDir());
-                this.fileName = fldVideo.getText();
+                this.dir = new File(p.getCommentDir());
+                this.fileName = fldComment.getText();
                 this.localFile = null;
             } else {
                 this.dir = null;
                 this.fileName = null;
                 this.localFile = null;
             } else {
                 this.dir = null;
                 this.fileName = null;
-                this.localFile = new File(fldVideo.getText());
+                this.localFile = new File(fldComment.getText());
             }
 
             if(cbBackLog.isSelected()) {
             }
 
             if(cbBackLog.isSelected()) {