Project

General

Profile

Actions

Defect #43964

closed

`IconsHelper#scm_change_icon` ignores passed options

Added by Go MAEDA 21 days ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Resolution:
Fixed
Affected version:

Description

IconsHelper#scm_change_icon accepts keyword options, but when it calls sprite_icon, it does not pass them through.

As a result, options such as icon_only: true are ignored. This makes scm_change_icon behave inconsistently with its method signature.

The attached patch fixes this by forwarding the received options to the internal sprite_icon call while keeping the default size at 14.


Files

Actions #1

Updated by Go MAEDA 19 days ago

  • Target version changed from Candidate for next minor release to 6.1.3

Setting the target version to 6.1.3.

Actions #2

Updated by Go MAEDA 17 days ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24593.

Actions #3

Updated by Go MAEDA 16 days ago

  • Status changed from Resolved to Closed

Merged the fix into 6.1-stable branch in r24596.

Actions

Also available in: Atom PDF