mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed crash when starting the application on a secondary monitor
This commit is contained in:
		
							parent
							
								
									7f1bea1dc8
								
							
						
					
					
						commit
						5fc82cecfe
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -140,8 +140,6 @@ PrintHostQueueDialog::PrintHostQueueDialog(wxWindow *parent) | |||
| { | ||||
|     const auto em = GetTextExtent("m").x; | ||||
| 
 | ||||
|     SetSize(wxSize(HEIGHT * em, WIDTH * em)); | ||||
| 
 | ||||
|     auto *topsizer = new wxBoxSizer(wxVERTICAL); | ||||
| 
 | ||||
|     job_list = new wxDataViewListCtrl(this, wxID_ANY); | ||||
|  | @ -168,6 +166,8 @@ PrintHostQueueDialog::PrintHostQueueDialog(wxWindow *parent) | |||
|     topsizer->Add(btnsizer, 0, wxEXPAND); | ||||
|     SetSizer(topsizer); | ||||
| 
 | ||||
|     SetSize(wxSize(HEIGHT * em, WIDTH * em)); | ||||
| 
 | ||||
|     job_list->Bind(wxEVT_DATAVIEW_SELECTION_CHANGED, [this](wxDataViewEvent&) { on_list_select(); }); | ||||
| 
 | ||||
|     btn_cancel->Bind(wxEVT_BUTTON, [this](wxCommandEvent&) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966