Fix double select;
This commit is contained in:
parent
a1199bd322
commit
9be3392dbe
|
@ -68,7 +68,8 @@ void BestListView::clearSelectedRow()
|
|||
{
|
||||
if (!m_is_selected) {
|
||||
this->blockSignals(true);
|
||||
this->clearSelection();
|
||||
//this->clearSelection();
|
||||
this->setCurrentIndex(QModelIndex());
|
||||
this->blockSignals(false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -198,7 +198,8 @@ void ResultView::clearSelectedRow()
|
|||
{
|
||||
if (!m_is_selected) {
|
||||
this->blockSignals(true);
|
||||
this->clearSelection();
|
||||
//this->clearSelection();
|
||||
this->setCurrentIndex(QModelIndex());
|
||||
this->blockSignals(false);
|
||||
} else {
|
||||
m_is_selected = false;
|
||||
|
|
|
@ -58,7 +58,8 @@ void WebSearchView::clearSelectedRow()
|
|||
{
|
||||
if (!m_is_selected) {
|
||||
this->blockSignals(true);
|
||||
this->clearSelection();
|
||||
//this->clearSelection();
|
||||
this->setCurrentIndex(QModelIndex());
|
||||
this->blockSignals(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue