Commit a2578d04 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Association documentation not shown in Documentation panel'.

Keep overwrite related handling for association widgets in sync
with other DocWindow::showDocumentation() methods.

In case overwrite is true the content of the documentation widget
should be overwritten and not saved in widget.

BUG:381016
FIXED-IN:2.22.3 (KDE Applications 17.04.3)
parent 0d7ca43e
......@@ -244,10 +244,7 @@ void DocWindow::showDocumentation(AssociationWidget * widget, bool overwrite)
return;
}
if (widget == m_pAssocWidget) {
if (overwrite) {
updateDocumentation(true);
}
else {
if (!overwrite) {
return;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment