1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

Spreadsheet: Show the error (if any) in csv import dialog's preview

...and don't try to read from a CSV that has errors.
Fixes #5942.
This commit is contained in:
AnotherTest 2021-03-25 10:25:24 +04:30 committed by Andreas Kling
parent bbf6847d50
commit 102065a8a9
6 changed files with 43 additions and 14 deletions

View file

@ -69,6 +69,12 @@ private:
RefPtr<GUI::CheckBox> m_export_header_check_box;
RefPtr<GUI::CheckBox> m_quote_all_fields_check_box;
RefPtr<GUI::TextEditor> m_data_preview_text_editor;
Vector<String> m_quote_escape_items {
// Note: Keep in sync with Writer::WriterTraits::QuoteEscape.
"Repeat",
"Backslash",
};
String m_temp_output_file_path;
};