forked from openkylin/ukui-search
Merge branch 'new-frontend' into 'new-frontend'
Fix double select; See merge request kylin-desktop/ukui-search!144
This commit is contained in:
commit
9a2969d19d
|
@ -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