fix(ManagedPackPage): better changelog text when fetching / no changelog
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
968366c2ae
commit
04dbe28793
@ -219,6 +219,9 @@ void ModrinthManagedPackPage::parseManagedPack()
|
|||||||
netJob->deleteLater();
|
netJob->deleteLater();
|
||||||
delete response;
|
delete response;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ui->changelogTextBrowser->setText(tr("Fetching changelogs..."));
|
||||||
|
|
||||||
netJob->start();
|
netJob->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,7 +168,11 @@
|
|||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTextBrowser" name="changelogTextBrowser"/>
|
<widget class="QTextBrowser" name="changelogTextBrowser">
|
||||||
|
<property name="placeholderText">
|
||||||
|
<string>No changelog available for this version!</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user