From a4a0549920235d6c3d423cf17a2831e6f77e594b Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Sat, 22 Jun 2024 18:45:56 +0200 Subject: [PATCH] fix pasting url & ley --- ModpackUpdater/Form1.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ModpackUpdater/Form1.cs b/ModpackUpdater/Form1.cs index c9a0ec2..e7c20c4 100644 --- a/ModpackUpdater/Form1.cs +++ b/ModpackUpdater/Form1.cs @@ -248,15 +248,11 @@ public partial class Form1 private void RadButton_PasteModpackConfig_Click(object sender, EventArgs e) { - var text = Clipboard.GetText(); - if (text.StartsWith("http")) - LoadUpdateConfigFile(text); + LoadUpdateConfigFile(Clipboard.GetText()); } private void RadButton_PasteInstallKey_Click(object sender, EventArgs e) { - if (modpackInfo == null) - return; LoadInstallKey(Clipboard.GetText()); }