Bläddra i källkod

minor separator display improvement

Nicolas Cannasse 3 år sedan
förälder
incheckning
26a346bd08
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      hide/comp/cdb/DataFiles.hx
  2. 1 1
      hide/comp/cdb/Table.hx

+ 1 - 1
hide/comp/cdb/DataFiles.hx

@@ -107,7 +107,7 @@ class DataFiles {
 					}
 					if( needSep ) {
 						separators.push(lines.length);
-						separatorTitles.push(file);
+						separatorTitles.push(file.split("/").join(" > "));
 						needSep = false;
 					}
 					if( sheet.idCol != null && Reflect.field(p.props,sheet.idCol.name) == "" )

+ 1 - 1
hide/comp/cdb/Table.hx

@@ -278,7 +278,7 @@ class Table extends Component {
 				opts.unshift({
 					label : "Open",
 					click : function() {
-						ide.openFile(title);
+						ide.openFile(title.split(" > ").join("/"));
 					},
 				});
 			new hide.comp.ContextMenu(opts);