Preferences - Saved Passwords - "Remove" button should not be active if there are no items

This commit is contained in:
janekptacijarabaci 2018-06-24 12:18:48 +02:00 committed by Roy Tam
commit 84250c0083

View file

@ -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 = {};