mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:12:46 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									d116fc01e8
								
							
						
					
					
						commit
						6fca2134d2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 MacDue
						MacDue