mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Added option to not save a scene when played.
This commit is contained in:
		
							parent
							
								
									b1537da605
								
							
						
					
					
						commit
						4bee1d98fa
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1985,9 +1985,10 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) { | |||
| 		} break; | ||||
| 		case FILE_SAVE_BEFORE_RUN: { | ||||
| 			if (!p_confirmed) { | ||||
| 				accept->get_ok()->set_text(TTR("Yes")); | ||||
| 				accept->set_text(TTR("This scene has never been saved. Save before running?")); | ||||
| 				accept->popup_centered_minsize(); | ||||
| 				confirmation->get_cancel()->set_text(TTR("No")); | ||||
| 				confirmation->get_ok()->set_text(TTR("Yes")); | ||||
| 				confirmation->set_text(TTR("This scene has never been saved. Save before running?")); | ||||
| 				confirmation->popup_centered_minsize(); | ||||
| 				break; | ||||
| 			} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kryptocron
						Kryptocron