fix pasting url & ley
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user