[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/konqueror/keditbookmarks
From: Daniel Teske <teske () squorn ! de>
Date: 2005-07-11 23:27:51
Message-ID: 1121124471.007970.16267.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 433835 by teske:
Fixes the bug: Actions which only apply to one bookmark, are enabbled
even if more than one bookmark are selected. Surfaced, due to me changing
the selection code a while ago.
The code was actually wrong a lot longer.
M +1 -1 listview.cpp
--- trunk/KDE/kdebase/konqueror/keditbookmarks/listview.cpp #433834:433835
@@ -298,8 +298,8 @@
sa.separator = nbk.isSeparator();
sa.urlIsEmpty = nbk.url().isEmpty();
sa.root = (firstSelected() == m_listView->rootItem());
+ sa.multiSelect = (mSelectedItems.count() > 1);
sa.singleSelect = (!sa.multiSelect && sa.itemSelected);
- sa.multiSelect = (mSelectedItems.count() > 1);
sa.tbShowState = CmdGen::shownInToolbar(nbk);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic