Skip to content

Commit

Permalink
clear preview when Online Repository is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
octaeder committed Feb 13, 2024
1 parent 55e2d6f commit d5f95e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templateselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ void TemplateSelector::showInfo(QTreeWidgetItem *currentItem, QTreeWidgetItem *p
ui.lbVersion->setText("");
ui.lbLicense->setText("");
ui.lbAuthorTag->setVisible(false);
if (previewLabel)
previewLabel->setScaledPixmap(QPixmap());
}
if(!downloadUrl.isEmpty()){
makeRequest(downloadUrl,path,currentItem,true);
Expand Down

0 comments on commit d5f95e3

Please sign in to comment.