Ecere Software
/
ede
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libede:FileSystemBox: fixed call NotifyOpenNode on folders when navigateFolders is...
[ede]
/
libede
/
src
/
FileSystemBox.ec
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;
}