* respect the users choise and don't show the printer panel if he does not wan't to setup a printer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25617 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -77,10 +77,12 @@ status_t PrintServerApp::async_thread(void* data)
|
|||||||
|
|
||||||
BAlert* alert = new BAlert("Info", alertText.Append("Would "
|
BAlert* alert = new BAlert("Info", alertText.Append("Would "
|
||||||
"you like to set one up now?").String(), "No", "Yes");
|
"you like to set one up now?").String(), "No", "Yes");
|
||||||
if (alert->Go() == 1 && count == 0)
|
if (alert->Go() == 1) {
|
||||||
run_add_printer_panel();
|
if (count == 0)
|
||||||
else
|
run_add_printer_panel();
|
||||||
run_select_printer_panel();
|
else
|
||||||
|
run_select_printer_panel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user