[klipper] Reset top is user selected when clearing the history

An empty history cannot have a user selected top item.
wilder-5.14
Martin Gräßlin 12 years ago
parent 6207ca5749
commit 2bc1dbd4a6
  1. 1
      klipper/history.cpp

@ -126,6 +126,7 @@ void History::slotClear() {
qDeleteAll(m_items);
m_items.clear();
m_top = 0L;
m_topIsUserSelected = false;
emit changed();
}

Loading…
Cancel
Save