mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 23:06:43 +08:00 
			
		
		
		
	Merge pull request #7355 from german77/hotkey_spam
hotkeys: Don't allow hotkeys to spam
This commit is contained in:
		
						commit
						2054013edb
					
				| @ -46,6 +46,8 @@ QShortcut* HotkeyRegistry::GetHotkey(const QString& group, const QString& action | ||||
|     if (!hk.shortcut) | ||||
|         hk.shortcut = new QShortcut(hk.keyseq, widget, nullptr, nullptr, hk.context); | ||||
| 
 | ||||
|     hk.shortcut->setAutoRepeat(false); | ||||
| 
 | ||||
|     return hk.shortcut; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user