Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c4fe0
)
ecere/gui/controls/ListBox: Fixed issue moving rows in tree view
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 11 Mar 2015 06:19:30 +0000
(
02:19
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 11 Mar 2015 06:19:30 +0000
(
02:19
-0400)
ecere/src/gui/controls/ListBox.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/controls/ListBox.ec
b/ecere/src/gui/controls/ListBox.ec
index
7ae0fd0
..
bf204f7
100644
(file)
--- a/
ecere/src/gui/controls/ListBox.ec
+++ b/
ecere/src/gui/controls/ListBox.ec
@@
-489,7
+489,7
@@
public:
if(!after || after.index < index)
{
- if((after && after == listBox.firstRowShown.prev) || (!after && !parent
&& listBox.firstRowShown.prev
))
+ if((after && after == listBox.firstRowShown.prev) || (!after && !parent
/*&& listBox.firstRowShown.prev*/
))
listBox.firstRowShown = this;
// All rows between AFTER (exclusive) and ROW (exclusive) are incremented by one