mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	Fixed part 2 of issue #490
This commit is contained in:
		
							parent
							
								
									0f491a7840
								
							
						
					
					
						commit
						ee22e57cd1
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -2377,6 +2377,12 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
 | 
				
			||||||
			EnableAdvancedBootOptions(TRUE, TRUE);
 | 
								EnableAdvancedBootOptions(TRUE, TRUE);
 | 
				
			||||||
			if (selection_default == BT_IMG)
 | 
								if (selection_default == BT_IMG)
 | 
				
			||||||
				ToggleImage(!IsChecked(IDC_BOOT));
 | 
									ToggleImage(!IsChecked(IDC_BOOT));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								if(IsChecked(IDC_BOOT)) {
 | 
				
			||||||
 | 
									SetWindowTextU(hLabel, img_report.label);
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									SetWindowTextU(hLabel, DriveLabel.String[ComboBox_GetCurSel(hDeviceList)]);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		case IDC_BOOTTYPE:
 | 
							case IDC_BOOTTYPE:
 | 
				
			||||||
			if (HIWORD(wParam) != CBN_SELCHANGE)
 | 
								if (HIWORD(wParam) != CBN_SELCHANGE)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue