Revert "#3751 Fix keyboard selection in Summary Plot Editor"

This reverts commit ab0fa2fb19.

* This change should never have been merged back into the repo.
This commit is contained in:
Gaute Lindkvist 2018-11-30 09:22:01 +01:00
parent e489d77c81
commit 7fd3dac2ef
2 changed files with 0 additions and 12 deletions

View File

@ -259,9 +259,6 @@ void PdmUiTreeSelectionEditor::configureAndUpdateUi(const QString& uiConfigName)
m_proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive); m_proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
m_treeView->setModel(m_proxyModel); m_treeView->setModel(m_proxyModel);
connect(m_treeView->selectionModel(), SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(slotCurrentChanged(QModelIndex, QModelIndex)), Qt::UniqueConnection);
} }
bool optionsOnly = true; bool optionsOnly = true;
@ -487,14 +484,6 @@ void PdmUiTreeSelectionEditor::customMenuRequested(const QPoint& pos)
} }
} }
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void PdmUiTreeSelectionEditor::slotCurrentChanged(const QModelIndex& current, const QModelIndex& previous)
{
currentChanged(current);
}
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@ -103,7 +103,6 @@ protected:
private slots: private slots:
void customMenuRequested(const QPoint& pos); void customMenuRequested(const QPoint& pos);
void slotCurrentChanged(const QModelIndex& current, const QModelIndex& previous);
void slotSetSelectedOn(); void slotSetSelectedOn();
void slotSetSelectedOff(); void slotSetSelectedOff();
void slotSetSubItemsOn(); void slotSetSubItemsOn();