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)
|
private void RadButton_PasteModpackConfig_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var text = Clipboard.GetText();
|
LoadUpdateConfigFile(Clipboard.GetText());
|
||||||
if (text.StartsWith("http"))
|
|
||||||
LoadUpdateConfigFile(text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RadButton_PasteInstallKey_Click(object sender, EventArgs e)
|
private void RadButton_PasteInstallKey_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (modpackInfo == null)
|
|
||||||
return;
|
|
||||||
LoadInstallKey(Clipboard.GetText());
|
LoadInstallKey(Clipboard.GetText());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user