Skip to content

Commit

Permalink
Dialogs: Diff, empty commandset disables the contained commands
Browse files Browse the repository at this point in the history
http://forum.komodoide.com/t/diff-viewer-context-menu-items-disabled/2344

(integrated from master branch change 7412148 by cgchoffman <cgchoffman@gmail.com>)
  • Loading branch information
th3coop committed Dec 8, 2015
1 parent cfac9f0 commit c17e2ad
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/chrome/komodo/content/dialogs/diff.p.xul
Expand Up @@ -106,17 +106,15 @@

<hbox id="scintillaOverlayXul"/>

<commandset>
<command id="cmd_jumpToPreviousDiff"
key="key_jumpToPreviousDiff"
oncommand="document.getElementById('view').jumpToPreviousDiff()"/>
<command id="cmd_jumpToNextDiff"
key="key_jumpToNextDiff"
oncommand="document.getElementById('view').jumpToNextDiff()"/>
<command id="cmd_revealPositionInEditor"
key="key_revealPositionInEditor"
oncommand="document.getElementById('view').revealPositionInEditor()"/>
</commandset>
<command id="cmd_jumpToPreviousDiff"
key="key_jumpToPreviousDiff"
oncommand="document.getElementById('view').jumpToPreviousDiff()"/>
<command id="cmd_jumpToNextDiff"
key="key_jumpToNextDiff"
oncommand="document.getElementById('view').jumpToNextDiff()"/>
<command id="cmd_revealPositionInEditor"
key="key_revealPositionInEditor"
oncommand="document.getElementById('view').revealPositionInEditor()"/>

<menupopup id="diffContextMenu"
onpopupshowing="window.updateCommands('buffer_context_menu_showing');">
Expand Down

0 comments on commit c17e2ad

Please sign in to comment.