Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
262a958
)
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>
Mon, 21 Dec 2015 19:09:25 +0000
(14:09 -0500)
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
ca851e2
..
d0cd421
100644
(file)
--- a/
ecere/src/gui/controls/ListBox.ec
+++ b/
ecere/src/gui/controls/ListBox.ec
@@
-490,7
+490,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