mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-31 07:58:43 +03:00
change
This commit is contained in:
@@ -377,9 +377,12 @@ void PresetComboBox::add_physical_printer()
|
||||
|
||||
void PresetComboBox::open_physical_printer_url()
|
||||
{
|
||||
const PhysicalPrinter& pp = m_preset_bundle->physical_printers.get_selected_printer();
|
||||
std::string host = pp.config.opt_string("print_host");
|
||||
const PhysicalPrinter &pp = m_preset_bundle->physical_printers.get_selected_printer();
|
||||
std::string host = pp.config.opt_string("print_host");
|
||||
assert(!host.empty());
|
||||
// B31
|
||||
if (host.find(":10088") == -1)
|
||||
host = host + ":10088";
|
||||
wxGetApp().open_browser_with_warning_dialog(host);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user