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

@@ -43,8 +43,11 @@ ToolBarProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
uintptr_t idButton = lpttt->hdr.idFrom;
switch (idButton) {
case IDM_ACTION_PAUSE:
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
case IDM_ACTION_PAUSE:
if (dopause)
lpttt->lpszText = MAKEINTRESOURCE(IDS_2154);
else
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
break;
case IDM_ACTION_RESET_CAD: