Fix save int/string error for id
This commit is contained in:
parent
e3c9db9552
commit
12e083eb1d
@ -117,7 +117,8 @@ void Save(ref TreeView tree){
|
||||
TreeIter it = new TreeIter();
|
||||
store.getIterFirst(it);//TODO: fail if first is null
|
||||
do{
|
||||
for(int i=0 ; i<store.getNColumns() ; i++){
|
||||
std.stdio.write("\t",store.getValueInt(it, 0));
|
||||
foreach(i ; 1..store.getNColumns()){
|
||||
std.stdio.write("\t",store.getValueString(it, i));
|
||||
}
|
||||
writeln();
|
||||
|
Loading…
Reference in New Issue
Block a user