Change tooltip for Pause button if paused

This commit is contained in:
David Hrdlička
2022-01-13 00:09:45 +01:00
parent 88037d9bda
commit b6d033481f

View File

@@ -44,7 +44,10 @@ ToolBarProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
switch (idButton) {
case IDM_ACTION_PAUSE:
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
if (dopause)
lpttt->lpszText = MAKEINTRESOURCE(IDS_2154);
else
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
break;
case IDM_ACTION_RESET_CAD: