mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed a tripping assert
This commit is contained in:
		
							parent
							
								
									2682915a5d
								
							
						
					
					
						commit
						3124892fae
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -673,8 +673,7 @@ void GUI_App::post_init()
 | 
				
			||||||
    // to popup a modal dialog on start without screwing combo boxes.
 | 
					    // to popup a modal dialog on start without screwing combo boxes.
 | 
				
			||||||
    // This is ugly but I honestly found no better way to do it.
 | 
					    // This is ugly but I honestly found no better way to do it.
 | 
				
			||||||
    // Neither wxShowEvent nor wxWindowCreateEvent work reliably.
 | 
					    // Neither wxShowEvent nor wxWindowCreateEvent work reliably.
 | 
				
			||||||
    assert(this->preset_updater); // FIXME Following condition is probably not neccessary.
 | 
					    if (this->preset_updater) { // G-Code Viewer does not initialize preset_updater.
 | 
				
			||||||
    if (this->preset_updater) {
 | 
					 | 
				
			||||||
        this->check_updates(false);
 | 
					        this->check_updates(false);
 | 
				
			||||||
        CallAfter([this] {
 | 
					        CallAfter([this] {
 | 
				
			||||||
            bool cw_showed = this->config_wizard_startup();
 | 
					            bool cw_showed = this->config_wizard_startup();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue