git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to more upstream-y jexer lib, fix library
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
tui
/
TuiReaderMainWindow.java
diff --git
a/src/be/nikiroo/fanfix/reader/tui/TuiReaderMainWindow.java
b/src/be/nikiroo/fanfix/reader/tui/TuiReaderMainWindow.java
index 0fccfafaaab717fc33726be4c49aaaba41bf3210..1fa6d8b6e19a42b0752b8afe05c4626c89507fba 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/tui/TuiReaderMainWindow.java
+++ b/
src/be/nikiroo/fanfix/reader/tui/TuiReaderMainWindow.java
@@
-39,8
+39,7
@@
class TuiReaderMainWindow extends TWindow {
public TuiReaderMainWindow(TuiReaderApplication reader) {
// Construct a demo window. X and Y don't matter because it will be
// centred on screen.
public TuiReaderMainWindow(TuiReaderApplication reader) {
// Construct a demo window. X and Y don't matter because it will be
// centred on screen.
- super(reader, "Library", 0, 0, 60, 18, CENTERED | RESIZABLE
- | UNCLOSABLE);
+ super(reader, "Library", 0, 0, 60, 18, CENTERED | RESIZABLE);
this.reader = reader;
this.reader = reader;
@@
-87,6
+86,12
@@
class TuiReaderMainWindow extends TWindow {
// root.addChild("child 2").addChild("sub child");
}
// root.addChild("child 2").addChild("sub child");
}
+ @Override
+ public void onClose() {
+ setVisible(false);
+ super.onClose();
+ }
+
/**
* Change the source filter and display all stories matching this source.
*
/**
* Change the source filter and display all stories matching this source.
*