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 |             // With shift | ||||||
|             commands.push_back(_("Select to End")); |             commands.push_back(_("Select to End")); | ||||||
|             // For the shortcut tooltip. |             // For the shortcut tooltip. | ||||||
|             commands.push_back(wxT("SelCursorEnd")); |             commands.push_back(wxT("SelEnd")); | ||||||
|             break; |             break; | ||||||
|          case ID_REW_BUTTON: |          case ID_REW_BUTTON: | ||||||
|             commands.push_back(wxT("CursProjectStart")); |             commands.push_back(wxT("CursProjectStart")); | ||||||
|             // With shift |             // With shift | ||||||
|             commands.push_back(_("Select to Start")); |             commands.push_back(_("Select to Start")); | ||||||
|             // For the shortcut tooltip. |             // For the shortcut tooltip. | ||||||
|             commands.push_back(wxT("SelStartCursor")); |             commands.push_back(wxT("SelStart")); | ||||||
|             break; |             break; | ||||||
|       } |       } | ||||||
|       ToolBar::SetButtonToolTip(*pCtrl, commands); |       ToolBar::SetButtonToolTip(*pCtrl, commands); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user