From b5141ca6cecf4995130eff35a99e4372c7a11ba8 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sun, 1 Jul 2018 16:30:12 +0200 Subject: [PATCH] Qt/Hotkeys: Show OSD message when selecting slots --- Source/Core/DolphinQt2/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index f5c29753ba..b81b60b83a 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -1014,6 +1014,10 @@ void MainWindow::SetStateSlot(int slot) { Settings::Instance().SetStateSlot(slot); m_state_slot = slot; + + Core::DisplayMessage(StringFromFormat("Selected slot %d - %s", m_state_slot, + State::GetInfoStringOfSlot(m_state_slot, false).c_str()), + 2500); } void MainWindow::PerformOnlineUpdate(const std::string& region)