mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Update add_csv_window.cpp
This commit is contained in:
@@ -151,7 +151,7 @@ bool AddCSVWindow::readCSV(std::ifstream& in, std::vector<String>& headers_out,
|
|||||||
headers_out.push_back(wxstring);
|
headers_out.push_back(wxstring);
|
||||||
}
|
}
|
||||||
// Parse rows, add to table
|
// Parse rows, add to table
|
||||||
for (int y = 0; y < rows.size(); ++y) {
|
for (int y = 1; y < rows.size(); ++y) {
|
||||||
auto fields = readCSVRow(rows[y]);
|
auto fields = readCSVRow(rows[y]);
|
||||||
std::vector<ScriptValueP> values;
|
std::vector<ScriptValueP> values;
|
||||||
for (int x = 0; x < fields.size(); ++x) {
|
for (int x = 0; x < fields.size(); ++x) {
|
||||||
|
|||||||
Reference in New Issue
Block a user