mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 18:25:54 +08:00
fix: ImageGrid download button would delete instead (#7413)
This commit is contained in:
parent
b38b9132f4
commit
ac5eaa3829
@ -652,7 +652,8 @@ void Slic3r::GUI::ImageGrid::renderContent1(wxDC &dc, wxPoint const &pt, int ind
|
|||||||
if (hit) {
|
if (hit) {
|
||||||
texts.Add(_L("Delete"));
|
texts.Add(_L("Delete"));
|
||||||
texts.Add(secondAction);
|
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);
|
renderButtons(dc, texts, rect, m_hit_type == HIT_ACTION ? m_hit_item & 3 : -1, states);
|
||||||
} else if (!nonHoverText.IsEmpty()) {
|
} else if (!nonHoverText.IsEmpty()) {
|
||||||
texts.Add(nonHoverText);
|
texts.Add(nonHoverText);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user