Template file dialog: kill old widgets on re-entering TemplateOptionsPage

Authored by kossebau on Feb 2 2017, 5:27 PM.

Description

Template file dialog: kill old widgets on re-entering TemplateOptionsPage

Summary:
Simple temporary fix for the current logic as triggered when going "Back"
from the options page to the previous and then entering again, which will
result in another call of the TemplateOptionsPage::load() method.
This should see some redesign possibly, but for this at least avoids
old layout & widget instances creating troubles.

Reviewers: KDevelop, mwolff

Reviewed By: KDevelop, mwolff

Subscribers: mwolff, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D4413

Details

Committed
kossebauFeb 16 2017, 6:26 AM
Reviewer
KDevelop
Differential Revision
D4413: Template file dialog: kill old widgets on re-entering TemplateOptionsPage
Parents
R33:f19f9cc8e584: Merge branch '5.0' into 5.1
Branches
Unknown
Tags
Unknown