Skip to content

Commit

Permalink
Fix swapped url + title, projects could not be selected if language s…
Browse files Browse the repository at this point in the history
…etting is not English
  • Loading branch information
KjellMorgenstern committed Sep 15, 2021
1 parent e58874c commit 8f9c5d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sketch/welcomeview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ QWidget * WelcomeView::initShop() {
QVBoxLayout * frameLayout = new QVBoxLayout;
zeroMargin(frameLayout);

QWidget * headerFrame = createHeaderFrame( tr("Fab"), "Fab", "", "", m_activeHeaderLabelColor, m_inactiveHeaderLabelColor, m_fabLabel, m_fabLabel);
QWidget * headerFrame = createHeaderFrame( "Fab", tr("Fab"), "", "", m_activeHeaderLabelColor, m_inactiveHeaderLabelColor, m_fabLabel, m_fabLabel);
frameLayout->addWidget(headerFrame);

m_fabUberFrame = createShopContentFrame(":/resources/images/pcbs_2013.png",
Expand Down Expand Up @@ -557,7 +557,7 @@ QWidget * WelcomeView::initBlog() {
QVBoxLayout * frameLayout = new QVBoxLayout;
zeroMargin(frameLayout);

QWidget * headerFrame = createHeaderFrame(tr("Projects"), "Projects", tr("Blog"), "Blog", m_inactiveHeaderLabelColor, m_activeHeaderLabelColor, m_projectsLabel, m_blogLabel);
QWidget * headerFrame = createHeaderFrame("Projects", tr("Projects"), "Blog", tr("Blog"), m_inactiveHeaderLabelColor, m_activeHeaderLabelColor, m_projectsLabel, m_blogLabel);
frameLayout->addWidget(headerFrame);

m_blogListWidget = createBlogContentFrame("https://blog.fritzing.org", tr("Fritzing News."), ":/resources/images/icons/WS-blogLogo.png", "#802742");
Expand Down

0 comments on commit 8f9c5d4

Please sign in to comment.