Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
83cb6185
Commit
83cb6185
authored
2 years ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Plain Diff
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
!1298
GUI: fix width synchronization of FitActivityPanel and JobRealTimeWidget
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/View/Import/RealDataSelectorWidget.cpp
+2
-0
2 additions, 0 deletions
GUI/View/Import/RealDataSelectorWidget.cpp
with
2 additions
and
0 deletions
GUI/View/Import/RealDataSelectorWidget.cpp
+
2
−
0
View file @
83cb6185
...
@@ -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
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment