FIX: update enable status when Refresh button

jira: [STUDIO-11923]
Change-Id: I0828415aa196031cf4d74f98a71cc0cea84939d2
(cherry picked from commit 64641c62cbac66ae49a52d3014217be001f8366e)
This commit is contained in:
xin.zhang 2025-04-28 20:13:36 +08:00 committed by Noisyfox
parent 6d336e3dd0
commit b52ba83ba0

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;
@ -937,6 +936,7 @@ void SelectMachineDialog::prepare_mode(bool refresh_button)
wxEndBusyCursor();
if (refresh_button) {
EnableEditing(true);
Enable_Send_Button(true);
}