mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	configure_hotkeys: Tidy up key sequence conflict error string
Avoids mentioning the user and formalizes the error itself.
This commit is contained in:
		
							parent
							
								
									640543f8e4
								
							
						
					
					
						commit
						0a65f68b4a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -87,8 +87,8 @@ void ConfigureHotkeys::Configure(QModelIndex index) { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (IsUsedKey(key_sequence) && key_sequence != QKeySequence(previous_key.toString())) { |     if (IsUsedKey(key_sequence) && key_sequence != QKeySequence(previous_key.toString())) { | ||||||
|         QMessageBox::warning(this, tr("Error in inputted key"), |         QMessageBox::warning(this, tr("Conflicting Key Sequence"), | ||||||
|                              tr("You're using a key that's already bound.")); |                              tr("The entered key sequence is already assigned to another hotkey.")); | ||||||
|     } else { |     } else { | ||||||
|         model->setData(index, key_sequence.toString(QKeySequence::NativeText)); |         model->setData(index, key_sequence.toString(QKeySequence::NativeText)); | ||||||
|         EmitHotkeysChanged(); |         EmitHotkeysChanged(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue