mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-31 20:00:37 -07:00
ENH:optimize the logic of the IP input window
jira:[STUDIO-10375 STUDIO-10534] Change-Id: I75ff12403dbf8f59fa95c938fa97ec2497f0ed67 (cherry picked from commit b62efed65f26b1ea4390c2d1e8681169e63fff99)
This commit is contained in:
parent
b561599575
commit
3a67f1bd27
9 changed files with 277 additions and 88 deletions
|
|
@ -474,7 +474,7 @@ void MediaFilePanel::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
|
|||
m_image_grid->SetStatus(m_bmp_failed, _L("Please enter the IP of printer to connect."));
|
||||
fs->SetUrl("0");
|
||||
fs.reset();
|
||||
if (wxGetApp().show_modal_ip_address_enter_dialog(_L("LAN Connection Failed (Failed to view sdcard)"))) {
|
||||
if (wxGetApp().show_modal_ip_address_enter_dialog(false, _L("LAN Connection Failed (Failed to view sdcard)"))) {
|
||||
if (auto fs = wfs.lock())
|
||||
fs->Retry();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue