Skip to content

Commit

Permalink
Merge branch 'master' of github.com:texstudio-org/texstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Feb 12, 2024
2 parents 05d2be4 + cb3d80c commit 55e2d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templateselector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void TemplateSelector::onRequestCompleted()
QString name=dd["name"].toString();
if(name.endsWith(".json")){
auto *item=new QTreeWidgetItem();
item->setText(0,name.left(name.length()-5));
item->setText(0,name.replace("template_","").replace(".json",""));
item->setIcon(0,QIcon::fromTheme("file"));
item->setData(0,DownloadRole,dd["download_url"].toString());
item->setData(0,UrlRole, url);
Expand Down

0 comments on commit 55e2d6f

Please sign in to comment.