widgets.status: disable 'Revert Unstaged Edits' when nothing is selected
commitf1579019a42fa44f63611d38b80e2ee2d4c84f37
authorDavid Aguilar <davvid@gmail.com>
Thu, 26 Dec 2013 21:08:41 +0000 (26 13:08 -0800)
committerDavid Aguilar <davvid@gmail.com>
Thu, 26 Dec 2013 21:08:41 +0000 (26 13:08 -0800)
treed12760b23955ef8567e9b0500fb5004abdcee868
parent1d9401de64d659721f047bb9413aa9d8d64d06f9
widgets.status: disable 'Revert Unstaged Edits' when nothing is selected

Prevent the 'Revert Unstaged Edits...' action from being used when there
is nothing to revert.  This ensures that the hotkey does not activate
when there is nothing to do.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/status.py