Fix save int/string error for id

master
Crom (Thibaut CHARLES) 8 years ago
parent e3c9db9552
commit 12e083eb1d
  1. 3
      source/app.d

@ -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…
Cancel
Save