diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-24 12:18:48 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-24 12:18:48 +0200 |
commit | 1f50e1c476a287692847d7d8f94a903517b727a7 (patch) | |
tree | becdf5c59ef7fbc7173a7223e9a2e2c5a9018e6f /toolkit/components/passwordmgr | |
parent | d819da37b01e87e5e067ae37092cd2044e6a40e3 (diff) | |
download | UXP-1f50e1c476a287692847d7d8f94a903517b727a7.tar UXP-1f50e1c476a287692847d7d8f94a903517b727a7.tar.gz UXP-1f50e1c476a287692847d7d8f94a903517b727a7.tar.lz UXP-1f50e1c476a287692847d7d8f94a903517b727a7.tar.xz UXP-1f50e1c476a287692847d7d8f94a903517b727a7.zip |
Preferences - Saved Passwords - "Remove" button should not be active if there are no items
Diffstat (limited to 'toolkit/components/passwordmgr')
-rw-r--r-- | toolkit/components/passwordmgr/content/passwordManager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/passwordmgr/content/passwordManager.js b/toolkit/components/passwordmgr/content/passwordManager.js index da63d7de8..bd5cebfc4 100644 --- a/toolkit/components/passwordmgr/content/passwordManager.js +++ b/toolkit/components/passwordmgr/content/passwordManager.js @@ -326,7 +326,7 @@ function LoadSignons() { function GetTreeSelections() { let selections = []; let select = signonsTree.view.selection; - if (select) { + if (select && signonsTree.view.rowCount > 0) { let count = select.getRangeCount(); let min = {}; let max = {}; |