fix: ImageGrid download button would delete instead (#7413)

This commit is contained in:
LyricWulf 2024-11-27 06:28:36 -08:00 committed by GitHub
parent b38b9132f4
commit ac5eaa3829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -652,6 +652,7 @@ void Slic3r::GUI::ImageGrid::renderContent1(wxDC &dc, wxPoint const &pt, int ind
if (hit) {
texts.Add(_L("Delete"));
texts.Add(secondAction);
if (!thirdAction.IsEmpty())
texts.Add(thirdAction);
renderButtons(dc, texts, rect, m_hit_type == HIT_ACTION ? m_hit_item & 3 : -1, states);
} else if (!nonHoverText.IsEmpty()) {