summaryrefslogtreecommitdiffstats
path: root/application/pages/global/PasteEEPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/global/PasteEEPage.cpp')
-rw-r--r--application/pages/global/PasteEEPage.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/application/pages/global/PasteEEPage.cpp b/application/pages/global/PasteEEPage.cpp
index 2ceb725f..f2c82d44 100644
--- a/application/pages/global/PasteEEPage.cpp
+++ b/application/pages/global/PasteEEPage.cpp
@@ -43,11 +43,7 @@ void PasteEEPage::loadSettings()
{
auto s = MMC->settings();
QString keyToUse = s->get("PasteEEAPIKey").toString();
- if(keyToUse == "public")
- {
- ui->publicButton->setChecked(true);
- }
- else if(keyToUse == "multimc")
+ if(keyToUse == "multimc")
{
ui->multimcButton->setChecked(true);
}
@@ -65,8 +61,6 @@ void PasteEEPage::applySettings()
QString pasteKeyToUse;
if (ui->customButton->isChecked())
pasteKeyToUse = ui->customAPIkeyEdit->text();
- else if (ui->publicButton->isChecked())
- pasteKeyToUse = "public";
else
{
pasteKeyToUse = "multimc";