Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba2a96
)
ecere/gui: Not assigning documentID anymore to saved documents (Fixes first untitled...
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 26 Feb 2012 14:51:35 +0000
(09:51 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 1 Mar 2012 04:53:38 +0000
(23:53 -0500)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
c376cfc
..
e1dab10
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-5867,7
+5867,8
@@
private:
for(child = children.first; child; child = child.next)
{
- if(child.style.isDocument)
+ // TO CHECK: Do we want a documentID when we already have a file name?
+ if(child.style.isDocument && !child.fileName)
{
if(child.documentID-1 > size - 2)
{