mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
Merge pull request #2592 from Trial97/import_whitespace
trim input from import page
This commit is contained in:
commit
de9df31efa
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ void ImportPage::updateState()
|
|||
return;
|
||||
}
|
||||
if (ui->modpackEdit->hasAcceptableInput()) {
|
||||
QString input = ui->modpackEdit->text();
|
||||
QString input = ui->modpackEdit->text().trimmed();
|
||||
auto url = QUrl::fromUserInput(input);
|
||||
if (url.isLocalFile()) {
|
||||
// FIXME: actually do some validation of what's inside here... this is fake AF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue