OSDN Git Service

拡張情報、エディタボタンバーの表示・非表示設定が次回起動時に復元出来ていなかった問題を修正。
authoryuki <kimaira7@gmail.com>
Tue, 9 Apr 2013 06:33:44 +0000 (15:33 +0900)
committeryuki <kimaira7@gmail.com>
Tue, 9 Apr 2013 06:33:44 +0000 (15:33 +0900)
src/cx/fbn/nevernote/NeverNote.java

index feb826f..206a461 100644 (file)
@@ -738,13 +738,21 @@ public class NeverNote extends QMainWindow{
                noteTableView.setVisible(Global.isWindowVisible("noteList"));
                menuBar.hideNoteList.setChecked(Global.isWindowVisible("noteList"));
                
-               if (!Global.isWindowVisible("editorButtonBar"))
+               // ICHANGED
+               if (!Global.isWindowVisible("editorButtonBar")) {
+                       menuBar.showEditorBar.setChecked(false);
                        toggleEditorButtonBar();
+               }
                
                if (!Global.isWindowVisible("leftPanel"))
                        menuBar.hideLeftSide.setChecked(true);
-               if (Global.isWindowVisible("noteInformation"))
+               
+               // ICHANGED
+               if (Global.isWindowVisible("noteInformation")) {
+                       menuBar.noteAttributes.setChecked(true);
                        toggleNoteInformation();
+               }
+               
                quotaBar.setVisible(Global.isWindowVisible("quota"));
                // IFIXED quotaBar.isVisible() → Global.isWindowVisible("quota")
                // なぜかquotaBar.isVisible()が常にfalseを返すようなので修正