commit 41e876492b5fe107ca402341f63d3e87e73b0d85
parent 4affad82ace47a2bc8e5cdb96c877c9e05d93235
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 23 Aug 2016 22:40:25 -0400
browser: always reset pin when clearing actions
This fixes this situation:
1. Mark for installation
2. Mark for pinning
3. Unmark for installation
4. Clear queued actions of selection
5. Entry is still marked for pinning
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/browser.cpp b/src/browser.cpp
@@ -920,9 +920,6 @@ void Browser::resetActions(const int index)
{
Entry *entry = getEntry(index);
- if(!hasAction(entry))
- return;
-
if(entry->target)
entry->target = boost::none;
if(entry->pin)