FIX: update enable status when Refresh button

jira: [STUDIO-11923]
Change-Id: I0828415aa196031cf4d74f98a71cc0cea84939d2
This commit is contained in:
xin.zhang 2025-04-28 20:13:36 +08:00 committed by lane.wei
parent ea56ebfc6c
commit 64641c62cb

View File

@ -927,7 +927,6 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
void SelectMachineDialog::prepare_mode(bool refresh_button)
{
Enable_Auto_Refill(true);
EnableEditing(true);
show_print_failed_info(false);
m_is_in_sending_mode = false;
@ -939,6 +938,7 @@ void SelectMachineDialog::prepare_mode(bool refresh_button)
wxEndBusyCursor();
if (refresh_button) {
EnableEditing(true);
Enable_Send_Button(true);
}