OSDN Git Service
(root)
/
neighbornote
/
NeighborNote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e77d48
)
Correct problem where toolbar would always be hidden when the program was closed...
author
Randy Baumgarte
<randy@fbn.cx>
Fri, 1 Oct 2010 14:50:59 +0000
(10:50 -0400)
committer
Randy Baumgarte
<randy@fbn.cx>
Fri, 1 Oct 2010 16:44:41 +0000
(12:44 -0400)
src/cx/fbn/nevernote/NeverNote.java
patch
|
blob
|
history
diff --git
a/src/cx/fbn/nevernote/NeverNote.java
b/src/cx/fbn/nevernote/NeverNote.java
index
0d4366d
..
1a9f370
100644
(file)
--- a/
src/cx/fbn/nevernote/NeverNote.java
+++ b/
src/cx/fbn/nevernote/NeverNote.java
@@
-838,7
+838,8
@@
public class NeverNote extends QMainWindow{
position = noteTableView.header.visualIndex(Global.noteTableSynchronizedPosition);
Global.setColumnPosition("noteTableSynchronizedPosition", position);
position = noteTableView.header.visualIndex(Global.noteTableSynchronizedPosition);
Global.setColumnPosition("noteTableSynchronizedPosition", position);
- Global.saveWindowVisible("toolBar", toolBar.isVisible());
+ if (isVisible())
+ Global.saveWindowVisible("toolBar", toolBar.isVisible());
saveNoteIndexWidth();
int width = notebookTree.columnWidth(0);
saveNoteIndexWidth();
int width = notebookTree.columnWidth(0);