Ecere Software
/
ede
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5a0f6a0
)
libede:FileSystemBox: fixed call NotifyOpenNode on folders when navigateFolders is...
author
Rejean Loyer
<rejean.loyer@gmail.com>
Fri, 16 Sep 2011 12:10:35 +0000
(08:10 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Fri, 16 Sep 2011 12:10:35 +0000
(08:10 -0400)
libede/src/FileSystemBox.ec
patch
|
blob
|
history
diff --git
a/libede/src/FileSystemBox.ec
b/libede/src/FileSystemBox.ec
index
24c443d
..
e184693
100644
(file)
--- a/
libede/src/FileSystemBox.ec
+++ b/
libede/src/FileSystemBox.ec
@@
-475,8
+475,9
@@
private:
bool NotifyDoubleClick(ListBox listBox, int x, int y, Modifiers mods)
{
bool NotifyDoubleClick(ListBox listBox, int x, int y, Modifiers mods)
{
+ bool result = !(selection && selection.type.isFolder && bits.navigateFolders);
OpenNode();
OpenNode();
- return
false
;
+ return
result
;
}
bool NotifyKeyDown(ListBox listBox, DataRow row, Key key, unichar ch)
}
bool NotifyKeyDown(ListBox listBox, DataRow row, Key key, unichar ch)
@@
-494,12
+495,8
@@
private:
{
bool result;
if(selection && selection.type.isFolder && bits.navigateFolders)
{
bool result;
if(selection && selection.type.isFolder && bits.navigateFolders)
- {
property::path = selection.path;
property::path = selection.path;
- result = true;
- }
- else
- result = NotifyNodeOpen(this.master, this, selection);
+ result = NotifyNodeOpen(this.master, this, selection);
return result;
}
return result;
}