Skip to content

Commit 04ed0e8

Browse files
committed
Problem switching between topics in expert tab
The application returns, when clicking on one of the topics in the expert tab, the translated value, but the `m_topics` was "ordered" according to the original English texts, now the translated value is stored.
1 parent 4ddadea commit 04ed0e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addon/doxywizard/expert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ void Expert::createTopics(const QDomElement &rootElem)
282282
QString translatedName = DoxygenWizard::translateExpertTopic(name);
283283
items.append(new QTreeWidgetItem((QTreeWidget*)nullptr,QStringList() << translatedName << docs));
284284
QWidget *widget = createTopicWidget(childElem);
285-
m_topics[name] = widget;
285+
m_topics[translatedName] = widget;
286286
m_topicStack->addWidget(widget);
287287
}
288288
}

0 commit comments

Comments
 (0)