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
ee16f1a1
Commit
ee16f1a1
authored
2 years ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Patches
Plain Diff
DataPropertyWidget: fix autorename bug
parent
fa1cce4f
No related branches found
No related tags found
1 merge request
!993
GUI: SessionItemWidget deleted
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/View/Common/DataAccessWidget.cpp
+2
-2
2 additions, 2 deletions
GUI/View/Common/DataAccessWidget.cpp
GUI/View/Common/DataAccessWidget.h
+3
-3
3 additions, 3 deletions
GUI/View/Common/DataAccessWidget.h
with
5 additions
and
5 deletions
GUI/View/Common/DataAccessWidget.cpp
+
2
−
2
View file @
ee16f1a1
...
...
@@ -60,7 +60,7 @@ JobRealBase* DataAccessWidget::jobRealBase() const
SpecularDataItem
*
DataAccessWidget
::
realSpecularDataItem
()
const
{
return
realItem
<
SpecularDataItem
>
();
return
real
Data
Item
<
SpecularDataItem
>
();
}
SpecularDataItem
*
DataAccessWidget
::
simuSpecularDataItem
()
const
...
...
@@ -75,7 +75,7 @@ SpecularDataItem* DataAccessWidget::diffSpecularDataItem() const
IntensityDataItem
*
DataAccessWidget
::
realIntensityDataItem
()
const
{
return
realItem
<
IntensityDataItem
>
();
return
real
Data
Item
<
IntensityDataItem
>
();
}
IntensityDataItem
*
DataAccessWidget
::
simuIntensityDataItem
()
const
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Common/DataAccessWidget.h
+
3
−
3
View file @
ee16f1a1
...
...
@@ -92,7 +92,7 @@ public:
private:
template
<
class
T
>
T
*
realItem
()
const
;
T
*
real
Data
Item
()
const
;
template
<
class
T
>
T
*
simuDataItem
()
const
;
...
...
@@ -117,7 +117,7 @@ private:
};
template
<
class
T
>
T
*
DataAccessWidget
::
realItem
()
const
T
*
DataAccessWidget
::
real
Data
Item
()
const
{
if
(
jobItem
())
{
RealItem
*
real_item_from_job
=
jobItem
()
->
realItem
();
...
...
@@ -152,7 +152,7 @@ QList<T*> DataAccessWidget::mainDataItems() const
{
QList
<
T
*>
output
;
auto
*
simu
=
simuDataItem
<
T
>
();
auto
*
real
=
realItem
<
T
>
();
auto
*
real
=
real
Data
Item
<
T
>
();
if
(
simu
)
output
.
append
(
simu
);
if
(
real
)
...
...
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