summaryrefslogtreecommitdiffstats
path: root/toolkit/components
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components')
-rw-r--r--toolkit/components/passwordmgr/content/passwordManager.js2
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 = {};