spelling: launched
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									38b5af5362
								
							
						
					
					
						commit
						1a5eed5768
					
				| @ -42,7 +42,7 @@ impl DelegateState { | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| static mut LAUCHED: bool = false; | ||||
| static mut LAUNCHED: bool = false; | ||||
| 
 | ||||
| impl AppHandler for Rc<Host> { | ||||
|     fn command(&mut self, cmd: u32) { | ||||
| @ -109,7 +109,7 @@ unsafe fn set_delegate(handler: Option<Box<dyn AppHandler>>) { | ||||
| 
 | ||||
| extern "C" fn application_did_finish_launching(_this: &mut Object, _: Sel, _notification: id) { | ||||
|     unsafe { | ||||
|         LAUCHED = true; | ||||
|         LAUNCHED = true; | ||||
|     } | ||||
|     unsafe { | ||||
|         let () = msg_send![NSApp(), activateIgnoringOtherApps: YES]; | ||||
| @ -122,7 +122,7 @@ extern "C" fn application_should_handle_open_untitled_file( | ||||
|     _sender: id, | ||||
| ) -> BOOL { | ||||
|     unsafe { | ||||
|         if !LAUCHED { | ||||
|         if !LAUNCHED { | ||||
|             return YES; | ||||
|         } | ||||
|         hbb_common::log::debug!("icon clicked on finder"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user