mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fixed wrong printing of recommended_thin_wall_thickness_description_line
This commit is contained in:
		
							parent
							
								
									f3f78ebc5a
								
							
						
					
					
						commit
						e05493bd90
					
				
					 2 changed files with 6 additions and 5 deletions
				
			
		|  | @ -336,7 +336,7 @@ void add_debug_menu(wxMenuBar *menu, int event_language_change) | |||
| 			} | ||||
| 		} | ||||
| 	}); | ||||
| 	menu->Append(local_menu, _T("&Localization")); | ||||
| 	menu->Append(local_menu, _(L("&Localization"))); | ||||
| //#endif
 | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -768,14 +768,15 @@ void TabPrint::update() | |||
| 		get_field(el)->toggle(have_wipe_tower); | ||||
| 
 | ||||
| 	m_recommended_thin_wall_thickness_description_line->SetText( | ||||
| 		PresetHints::recommended_thin_wall_thickness(*m_preset_bundle)); | ||||
| 		from_u8(PresetHints::recommended_thin_wall_thickness(*m_preset_bundle))); | ||||
| 
 | ||||
| 	Thaw(); | ||||
| } | ||||
| 
 | ||||
| void TabPrint::OnActivate() | ||||
| { | ||||
| 	m_recommended_thin_wall_thickness_description_line->SetText(PresetHints::recommended_thin_wall_thickness(*m_preset_bundle)); | ||||
| 	m_recommended_thin_wall_thickness_description_line->SetText( | ||||
| 		from_u8(PresetHints::recommended_thin_wall_thickness(*m_preset_bundle))); | ||||
| } | ||||
| 
 | ||||
| void TabFilament::build() | ||||
|  | @ -1044,7 +1045,7 @@ void TabPrinter::build() | |||
| 			btn->Bind(wxEVT_BUTTON, [this, parent](wxCommandEvent e){ | ||||
| 				if (m_event_button_browse > 0){ | ||||
| 					wxCommandEvent event(m_event_button_browse); | ||||
| 					event.SetString(_(L("Button BROWSE was clicked!"))); | ||||
| 					event.SetString("Button BROWSE was clicked!"); | ||||
| 					g_wxMainFrame->ProcessWindowEvent(event); | ||||
| 				} | ||||
| // 				// # look for devices
 | ||||
|  | @ -1079,7 +1080,7 @@ void TabPrinter::build() | |||
| 			btn->Bind(wxEVT_BUTTON, [this, parent](wxCommandEvent e) { | ||||
| 				if (m_event_button_test > 0){ | ||||
| 					wxCommandEvent event(m_event_button_test); | ||||
| 					event.SetString(_(L("Button TEST was clicked!"))); | ||||
| 					event.SetString("Button TEST was clicked!"); | ||||
| 					g_wxMainFrame->ProcessWindowEvent(event); | ||||
| 				} | ||||
| // 				my $ua = LWP::UserAgent->new;
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka