diff options
author | MacDue <macdue@dueutil.tech> | 2022-06-06 14:39:17 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-06 15:14:08 +0100 |
commit | 6fca2134d2f677c1e41ecaa0e8fdf643ba743e8c (patch) | |
tree | 8ffe7fa262c2f271c51cfdde362de7dc4d6be6c2 /Userland | |
parent | d116fc01e89c15a992e30bb6b26ad13f6b87996a (diff) | |
download | serenity-6fca2134d2f677c1e41ecaa0e8fdf643ba743e8c.zip |
Mail: Fix mail settings not opening after prompt to configure
If the extra "/bin/MailSettings" argument is passed to
Desktop::Launcher::open() it then is passed as an argument to
MailSettings. This then causes the args parsing to fail leading to
the settings not opening.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/Mail/MailWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Mail/MailWidget.cpp b/Userland/Applications/Mail/MailWidget.cpp index b0664dc1ef..1b37ee986b 100644 --- a/Userland/Applications/Mail/MailWidget.cpp +++ b/Userland/Applications/Mail/MailWidget.cpp @@ -103,7 +103,7 @@ bool MailWidget::connect_and_login() if (server.is_empty()) { auto result = GUI::MessageBox::show(window(), "Mail has no servers configured. Do you want configure them now?", "Error", GUI::MessageBox::Type::Error, GUI::MessageBox::InputType::YesNo); if (result == GUI::MessageBox::ExecResult::Yes) - Desktop::Launcher::open(URL::create_with_file_protocol("/bin/MailSettings"), "/bin/MailSettings"); + Desktop::Launcher::open(URL::create_with_file_protocol("/bin/MailSettings")); return false; } |