Skip to content

Commit

Permalink
fix: ImageGrid download button would delete instead
Browse files Browse the repository at this point in the history
  • Loading branch information
lyricwulf committed Nov 8, 2024
1 parent 1088d0a commit 766fe04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slic3r/GUI/ImageGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,8 @@ void Slic3r::GUI::ImageGrid::renderContent1(wxDC &dc, wxPoint const &pt, int ind
if (hit) {
texts.Add(_L("Delete"));
texts.Add(secondAction);
texts.Add(thirdAction);
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()) {
texts.Add(nonHoverText);
Expand Down

0 comments on commit 766fe04

Please sign in to comment.