mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Ignore cut result if user didn't click the cut button
This commit is contained in:
		
							parent
							
								
									6e231a8cae
								
							
						
					
					
						commit
						025a508de2
					
				
					 2 changed files with 2 additions and 7 deletions
				
			
		|  | @ -111,14 +111,9 @@ sub new { | |||
|     $self->SetMinSize($self->GetSize); | ||||
|     $self->{sizer}->SetSizeHints($self); | ||||
|      | ||||
|     # needed to actually free memory | ||||
|     EVT_CLOSE($self, sub { | ||||
|         $self->EndModal(wxID_OK); | ||||
|         $self->Destroy; | ||||
|     }); | ||||
|      | ||||
|     EVT_BUTTON($self, $self->{btn_cut}, sub { | ||||
|         $self->perform_cut(1); | ||||
|         $self->EndModal(wxID_OK); | ||||
|         $self->Close; | ||||
|     }); | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci