From 1b1afbdca80a03f378ca331471b8a3e526118139 Mon Sep 17 00:00:00 2001 From: yuki Date: Fri, 22 Mar 2013 12:59:45 +0900 Subject: [PATCH] =?utf8?q?=E3=82=BF=E3=83=96=E3=82=92=E9=96=89=E3=81=98?= =?utf8?q?=E3=81=9F=E6=99=82=E3=81=AB=E3=80=81inkNote=E5=A4=89=E6=95=B0?= =?utf8?q?=E3=81=A8readOnly=E5=A4=89=E6=95=B0=E3=82=92=E6=9B=B4=E6=96=B0?= =?utf8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= =?utf8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cx/fbn/nevernote/NeverNote.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/cx/fbn/nevernote/NeverNote.java b/src/cx/fbn/nevernote/NeverNote.java index 7a3e172..e567d0d 100644 --- a/src/cx/fbn/nevernote/NeverNote.java +++ b/src/cx/fbn/nevernote/NeverNote.java @@ -4826,6 +4826,8 @@ public class NeverNote extends QMainWindow{ tabWindows.remove(index); tabBrowser.removeTab(index); noteDirty.remove(index); + inkNote.remove(index); + readOnly.remove(index); // 履歴記録のハッシュマップを削除 historyGuids.remove(index); @@ -4842,6 +4844,14 @@ public class NeverNote extends QMainWindow{ boolean isNoteDirty = noteDirty.get(i + 1); noteDirty.put(i, isNoteDirty); noteDirty.remove(i + 1); + // inkNote + boolean isInkNote = inkNote.get(i + 1); + inkNote.put(i, isInkNote); + inkNote.remove(i + 1); + // readOnly + boolean isReadOnly = readOnly.get(i + 1); + readOnly.put(i, isReadOnly); + readOnly.remove(i + 1); // historyGuids ArrayList histGuids = historyGuids.get(i + 1); historyGuids.put(i, histGuids); -- 2.11.0