From 6722ebd2ed9a7b99196457b485b6046b99a84116 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sun, 30 Dec 2018 00:04:55 -0800 Subject: [PATCH] Allow version display in settings screen as well. --- src/musikcube/app/layout/SettingsLayout.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/musikcube/app/layout/SettingsLayout.cpp b/src/musikcube/app/layout/SettingsLayout.cpp index e8a4ca383..d58fa5405 100755 --- a/src/musikcube/app/layout/SettingsLayout.cpp +++ b/src/musikcube/app/layout/SettingsLayout.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -47,6 +48,7 @@ #include #include +#include #include #include #include @@ -718,6 +720,10 @@ bool SettingsLayout::KeyPress(const std::string& key) { return true; } } + if (key == "^_" || key == "M-v") { /* ctrl+/ */ + ToastOverlay::Show(u8fmt(_TSTR("console_version"), VERSION), -1); + return true; + } return LayoutBase::KeyPress(key); }