mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-10-31 14:13:50 +01:00 
			
		
		
		
	Bug 1541 - Residual: Wrong commands shown in tooltip
I assumed that we had more than one binding to the same command. In fact the commands are different and I picked the wrong one.
This commit is contained in:
		| @@ -260,14 +260,14 @@ void ControlToolBar::RegenerateTooltips() | ||||
|             // With shift | ||||
|             commands.push_back(_("Select to End")); | ||||
|             // For the shortcut tooltip. | ||||
|             commands.push_back(wxT("SelCursorEnd")); | ||||
|             commands.push_back(wxT("SelEnd")); | ||||
|             break; | ||||
|          case ID_REW_BUTTON: | ||||
|             commands.push_back(wxT("CursProjectStart")); | ||||
|             // With shift | ||||
|             commands.push_back(_("Select to Start")); | ||||
|             // For the shortcut tooltip. | ||||
|             commands.push_back(wxT("SelStartCursor")); | ||||
|             commands.push_back(wxT("SelStart")); | ||||
|             break; | ||||
|       } | ||||
|       ToolBar::SetButtonToolTip(*pCtrl, commands); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user