Another fix
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
6c45a990ef
commit
a1ed8154f7
@ -282,7 +282,10 @@ void ModPage::openUrl(const QUrl& url)
|
||||
dialog->selectPage(page);
|
||||
|
||||
ModPage* newPage = dialog->getSelectedPage();
|
||||
newPage->ui->searchEdit->setText(slug);
|
||||
QLineEdit* searchEdit = newPage->ui->searchEdit;
|
||||
|
||||
if (searchEdit->text() != slug) {
|
||||
searchEdit->setText(slug);
|
||||
newPage->triggerSearch();
|
||||
|
||||
ModPlatform::ListModel* model = newPage->listModel;
|
||||
@ -305,6 +308,7 @@ void ModPage::openUrl(const QUrl& url)
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// open in the user's web browser
|
||||
QDesktopServices::openUrl(url);
|
||||
|
Loading…
Reference in New Issue
Block a user