mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 12:00:38 +08:00
Do not show Physical Printer Webview tab for Connect.
This commit is contained in:
parent
7bc73be0c9
commit
5d293dc9fc
@ -777,7 +777,7 @@ void MainFrame::remove_connect_webview_tab()
|
||||
void MainFrame::show_printer_webview_tab(DynamicPrintConfig* dpc)
|
||||
{
|
||||
// if physical printer is selected
|
||||
if (dpc) {
|
||||
if (dpc && dpc->option<ConfigOptionEnum<PrintHostType>>("host_type")->value != htPrusaConnect) {
|
||||
std::string url = dpc->opt_string("print_host");
|
||||
|
||||
if (url.find("http://") != 0 && url.find("https://") != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user