diff options
Diffstat (limited to 'Userland/Applications/Spreadsheet/ImportDialog.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/ImportDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/ImportDialog.cpp b/Userland/Applications/Spreadsheet/ImportDialog.cpp index 7e95c4ea95..0839da1364 100644 --- a/Userland/Applications/Spreadsheet/ImportDialog.cpp +++ b/Userland/Applications/Spreadsheet/ImportDialog.cpp @@ -252,7 +252,7 @@ Result<NonnullRefPtrVector<Sheet>, String> ImportDialog::make_and_run_for(String } else { auto page = GUI::WizardPage::construct( "Import File Format", - String::formatted("Select the format you wish to import '{}' as", LexicalPath { file.filename() }.basename())); + String::formatted("Select the format you wish to import '{}' as", LexicalPath::basename(file.filename()))); page->on_next_page = [] { return nullptr; }; |