1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +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

@ -168,8 +168,16 @@
margins: [10, 20, 10, 10]
}
@GUI::TableView {
name: "data_preview_table_view"
@GUI::StackWidget {
name: "data_preview_widget"
@GUI::TableView {
name: "data_preview_table_view"
}
@GUI::Label {
name: "data_preview_error_label"
word_wrap: true
}
}
}
}