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:
4cfaeb6
)
Fix bug where the external editor would force a close of the main window when the...
author
Randy Baumgarte
<randy@fbn.cx>
Fri, 5 Nov 2010 11:53:57 +0000
(07:53 -0400)
committer
Randy Baumgarte
<randy@fbn.cx>
Wed, 15 Dec 2010 15:15:02 +0000
(10:15 -0500)
src/cx/fbn/nevernote/gui/ExternalBrowse.java
patch
|
blob
|
history
diff --git
a/src/cx/fbn/nevernote/gui/ExternalBrowse.java
b/src/cx/fbn/nevernote/gui/ExternalBrowse.java
index
2218cd7
..
b0b63c8
100644
(file)
--- a/
src/cx/fbn/nevernote/gui/ExternalBrowse.java
+++ b/
src/cx/fbn/nevernote/gui/ExternalBrowse.java
@@
-21,6
+21,7
@@
package cx.fbn.nevernote.gui;
\r
import java.util.List;
\r
\r
+import com.trolltech.qt.core.Qt.WidgetAttribute;
\r
import com.trolltech.qt.gui.QCloseEvent;
\r
import com.trolltech.qt.gui.QMdiSubWindow;
\r
\r
@@
-36,6
+37,7
@@
public class ExternalBrowse extends QMdiSubWindow {
\r
// Constructor
\r
public ExternalBrowse(DatabaseConnection c) {
\r
+ setAttribute(WidgetAttribute.WA_QuitOnClose, false);
\r
setWindowTitle(tr("NeverNote"));
\r
conn = c;
\r
contentsChanged = new Signal4<String, String, Boolean, BrowserWindow>();
\r