We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2d41d6 + 81bde10 commit 288d183Copy full SHA for 288d183
1 file changed
file_handling/data_import.py
@@ -467,14 +467,13 @@ def _do_import():
467
if not path:
468
messagebox.showerror("Error", "No file selected.", parent=dlg)
469
return
470
- if not _loaded_rows:
471
- try:
472
- rows = _load_tabular(path)
473
- except Exception as e:
474
- messagebox.showerror("Load error", str(e), parent=dlg)
475
- return
476
- else:
477
- rows = _loaded_rows
+ # Always load the full file without row limit for import
+ # (preview may have loaded only 200 rows)
+ try:
+ rows = _load_tabular(path)
+ except Exception as e:
+ messagebox.showerror("Load error", str(e), parent=dlg)
+ return
478
479
body = rows[1:] if (has_headers.get() and rows) else rows
480
if not body:
0 commit comments