Commits

Shlomi Fish committed 283f122

Fix the behaviour.

Previously, the checkmark was set, but we didn't call the callback. Now
it is fixed.

  • Participants
  • Parent commits bdffc1e

Comments (0)

Files changed (1)

content/smartfindbar.xml

                     // We cannot do both a regular expression search and
                     // a similar search.
                     if (this._similar = aSimilar) {
-                        this.getElement("find-regex").checked = false;
+                        this._setRegex(
+                            this.getElement("find-regex").checked = false
+                        );
                     }
                 ]]></body>
             </method>
                     // We cannot do both a regular expression search and
                     // a similar search.
                     if (this._regex = aRegex) {
-                        this.getElement("find-similar").checked = false;
+                        this._setSimilar(
+                            this.getElement("find-similar").checked = false
+                        );
                     }
                 ]]></body>
             </method>