mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-26 13:03:13 +08:00
PrusaLink at Physical Printer Dialog: Show Http Digest as first choice.
This commit is contained in:
parent
37afe79c60
commit
210f1abf1d
@ -416,12 +416,12 @@ void PrintConfigDef::init_common_params()
|
|||||||
def->label = L("Authorization Type");
|
def->label = L("Authorization Type");
|
||||||
// def->tooltip = L("");
|
// def->tooltip = L("");
|
||||||
def->set_enum<AuthorizationType>({
|
def->set_enum<AuthorizationType>({
|
||||||
{ "key", L("API key") },
|
{ "user", L("HTTP digest") },
|
||||||
{ "user", L("HTTP digest") }
|
{ "key", L("API key") }
|
||||||
});
|
});
|
||||||
def->mode = comAdvanced;
|
def->mode = comAdvanced;
|
||||||
def->cli = ConfigOptionDef::nocli;
|
def->cli = ConfigOptionDef::nocli;
|
||||||
def->set_default_value(new ConfigOptionEnum<AuthorizationType>(atKeyPassword));
|
def->set_default_value(new ConfigOptionEnum<AuthorizationType>(atUserPassword));
|
||||||
|
|
||||||
// temporary workaround for compatibility with older Slicer
|
// temporary workaround for compatibility with older Slicer
|
||||||
{
|
{
|
||||||
|
@ -69,7 +69,7 @@ enum PrintHostType {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum AuthorizationType {
|
enum AuthorizationType {
|
||||||
atKeyPassword, atUserPassword
|
atUserPassword, atKeyPassword
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class FuzzySkinType {
|
enum class FuzzySkinType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user