History

added address bar dialog

stojce committed 12 years ago

Commit 466dbdc1 parent 76f78e77 files · +153 −24Browse files

Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all

Unified · Split

interface/src/Application.cpp+4−5
@@ -923,12 +923,11 @@ void Application::keyPressEvent(QKeyEvent* event) { · 922 unmodified lines
923923
924924 case Qt::Key_Return:
925925 case Qt::Key_Enter:
926− if (isMeta) {
927− Menu::getInstance()->triggerOption(MenuOption::AddressBar);
928− } else {
929− Menu::getInstance()->triggerOption(MenuOption::Chat);
930− }
926+ Menu::getInstance()->triggerOption(MenuOption::AddressBar);
927+ break;
931928
929+ case Qt::Key_CapsLock:
930+ Menu::getInstance()->triggerOption(MenuOption::Chat);
932931 break;
933932
934933 case Qt::Key_N:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t