Commit 29385ea9 authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

Change meaning of Escape key: goes back to Browse mode

BUG: 302898
parent fc45f0c1
......@@ -342,6 +342,7 @@ struct MainWindow::Private
mBrowseAction->setToolTip(i18nc("@info:tooltip", "Browse folders for images"));
mBrowseAction->setCheckable(true);
mBrowseAction->setIcon(KIcon("view-list-icons"));
mBrowseAction->setShortcut(Qt::Key_Escape);
connect(mViewMainPage, SIGNAL(goToBrowseModeRequested()),
mBrowseAction, SLOT(trigger()));
......@@ -371,7 +372,6 @@ struct MainWindow::Private
leaveFullScreenAction->setIcon(KIcon("view-restore"));
leaveFullScreenAction->setPriority(QAction::LowPriority);
leaveFullScreenAction->setText(i18nc("@action", "Leave Fullscreen Mode"));
leaveFullScreenAction->setShortcut(Qt::Key_Escape);
mGoToPreviousAction = view->addAction("go_previous", q, SLOT(goToPrevious()));
mGoToPreviousAction->setPriority(QAction::LowPriority);
......
......@@ -487,8 +487,8 @@ Moves to the parent folder of the current folder.</para></listitem>
action="simul">&Ctrl;&Shift;<keycap>F</keycap></keycombo>:
Switches into Full Screen Mode.</para></listitem>
<listitem><para>&Esc;: Exits from Full Screen
mode.</para></listitem>
<listitem><para>&Esc;: Switches back to Browse Mode.
</para></listitem>
<listitem><para><keycombo
action="simul">&Ctrl;<keycap>M</keycap></keycombo>:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment