Skip to content
Snippets Groups Projects
Commit 83cb6185 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

WIP on i425: ab343151 [i418b] GUI: simplify save/load machinery (Closes #365, #364, and #418)

parents ab343151 dc76967c
No related branches found
No related tags found
1 merge request!1298GUI: fix width synchronization of FitActivityPanel and JobRealTimeWidget
...@@ -158,6 +158,8 @@ void RealDataSelectorWidget::setCurrentItem(RealItem* item) ...@@ -158,6 +158,8 @@ void RealDataSelectorWidget::setCurrentItem(RealItem* item)
QModelIndex RealDataSelectorWidget::currentIndex() QModelIndex RealDataSelectorWidget::currentIndex()
{ {
if (!m_itemTree->selectionModel()->isSelected(m_itemTree->selectionModel()->currentIndex()))
return QModelIndex();
return m_itemTree->selectionModel()->currentIndex(); return m_itemTree->selectionModel()->currentIndex();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment