Keyboard shortcut at notification hover - eject sd

This commit is contained in:
David Kocik 2020-12-18 15:47:29 +01:00
parent b0115dca60
commit b5de1456a0

View File

@ -943,7 +943,7 @@ void NotificationManager::ExportFinishedNotification::render_eject_button(ImGuiW
if (m_hover_time > 0 && m_hover_time < time_now) { if (m_hover_time > 0 && m_hover_time < time_now) {
ImGui::PushStyleColor(ImGuiCol_PopupBg, ImGuiWrapper::COL_WINDOW_BACKGROUND); ImGui::PushStyleColor(ImGuiCol_PopupBg, ImGuiWrapper::COL_WINDOW_BACKGROUND);
ImGui::BeginTooltip(); ImGui::BeginTooltip();
imgui.text(_u8L("Eject drive")); imgui.text(_u8L("Eject drive ") + GUI::shortkey_ctrl_prefix() + "T");
ImGui::EndTooltip(); ImGui::EndTooltip();
ImGui::PopStyleColor(); ImGui::PopStyleColor();
} }