mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: [STUDIO-2241] show error dialog later for param value error
Change-Id: I16ffc92cb0701b8e3d984b783618549a5b237f70
This commit is contained in:
		
							parent
							
								
									d352677f08
								
							
						
					
					
						commit
						cc994a3492
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -221,8 +221,10 @@ void change_opt_value(DynamicPrintConfig& config, const t_config_option_key& opt | ||||||
| 
 | 
 | ||||||
| void show_error(wxWindow* parent, const wxString& message, bool monospaced_font) | void show_error(wxWindow* parent, const wxString& message, bool monospaced_font) | ||||||
| { | { | ||||||
| 	ErrorDialog msg(parent, message, monospaced_font); |     wxGetApp().CallAfter([=] { | ||||||
| 	msg.ShowModal(); |         ErrorDialog msg(parent, message, monospaced_font); | ||||||
|  |         msg.ShowModal(); | ||||||
|  |     }); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void show_error(wxWindow* parent, const char* message, bool monospaced_font) | void show_error(wxWindow* parent, const char* message, bool monospaced_font) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo