Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2af3e
)
ecere/gui/controls/ListBox: Fixed drag-select issues introduced by 92c4fe003bc4955791...
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 11 Mar 2015 18:10:36 +0000
(14:10 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 15 Oct 2015 00:19:32 +0000
(20:19 -0400)
- Only doing these row adjustments for row-dragging cursor
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
bf204f7
..
8aee587
100644
(file)
--- a/
ecere/src/gui/controls/ListBox.ec
+++ b/
ecere/src/gui/controls/ListBox.ec
@@
-3248,10
+3248,15
@@
private:
break;
}
}
- if(row && row == currentRow)
- row = row.GetNextRow();
- if(row && row.parent == currentRow)
- row = row.GetNextRow();
+
+ if(dragRow && style.moveRows)
+ {
+ if(row && row == currentRow)
+ row = row.GetNextRow();
+
+ if(row && row.parent == currentRow)
+ row = row.GetNextRow();
+ }
if(row && currentRow != row)
{