Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all
Unified · Split
| @@ -94,7 +94,7 @@ Menu::Menu() : · 93 unmodified lines | ||
| 94 | 94 | toggleLoginMenuItem(); |
| 95 | 95 | |
| 96 | 96 | // connect to the appropriate slots of the AccountManager so that we can change the Login/Logout menu item |
| 97 | − connect(&accountManager, &AccountManager::foundOrRequestedAccessToken, this, &Menu::toggleLoginMenuItem); | |
| 97 | + connect(&accountManager, &AccountManager::accessTokenChanged, this, &Menu::toggleLoginMenuItem); | |
| 98 | 98 | connect(&accountManager, &AccountManager::logoutComplete, this, &Menu::toggleLoginMenuItem); |
| 99 | 99 | |
| 100 | 100 | addDisabledActionAndSeparator(fileMenu, "Scripts"); |