Skip to content
Commit 8c2606c1 authored by Igor Kushnir's avatar Igor Kushnir Committed by Nicolás Alvarez
Browse files

Don't call SourceFormatterSelectionEdit::resetUi() redundantly

When Configure KDevelop dialog is shown, this function is called once
for each source formatter plugin, plus one more time, which amounts to 3
times with the 2 enabled by default plugins. loadSettings() is always
called after the constructor, so let it make the one resetUi() call.
Note that resetUi() should not be called before loadSettings(), because
user-selected formatters and styles cannot be displayed before
loadSettings() reads them from configuration.
parent a3f748cc
Pipeline #95969 passed with stage
in 34 minutes and 29 seconds
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