Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3721,7 +3721,8 @@ void Application::keyPressEvent(QKeyEvent* event) { · 3720 unmodified lines | ||
| 3721 | 3721 | if (isShifted && isMeta) { |
| 3722 | 3722 | Menu::getInstance()->triggerOption(MenuOption::Log); |
| 3723 | 3723 | } else if (isMeta) { |
| 3724 | − Menu::getInstance()->triggerOption(MenuOption::AddressBar); | |
| 3724 | + auto dialogsManager = DependencyManager::get<DialogsManager>(); | |
| 3725 | + dialogsManager->toggleAddressBar(); | |
| 3725 | 3726 | } else if (isShifted) { |
| 3726 | 3727 | Menu::getInstance()->triggerOption(MenuOption::LodTools); |
| 3727 | 3728 | } |