Skip to content
Commit d8ab45cc authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Refactor SourceFormatterController::updateFormatTextAction()

* reduce nesting to allow adding/removing checks without reindenting
  unrelated code;
* cache the result of a call to virtual IDocument::url();
* move setEnabled() up because otherwise these most important calls are
  buried under the bulky code that sets tooltips and whatsthis.
parent e2cbee0f
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