roojs-ui.js
[roojs1] / roojs-ui-debug.js
index afa4d72..0cc9924 100644 (file)
@@ -23596,7 +23596,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                     // this trigger toggle.
                      
                     this.setText(v ? "Hide Caption" : "Show Caption");
-                    this.setPressed(!v);
+                    this.setPressed(v);
                 },
                 listeners : {
                     toggle: function (btn, state)