Skip to content

Commit

Permalink
Fixes #2249 scale button (#2269)
Browse files Browse the repository at this point in the history
* Fixes #2249 scale button

* Fixes #2249 scale button
  • Loading branch information
msevestre authored Jul 29, 2022
1 parent 27d6496 commit aa447a2
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public interface IMultiParameterEditPresenter :
void SelectedParametersChanged();

/// <summary>
/// if set to true, parameter will be compared for sort only if sharing the same hiearchy of visible groups
/// if set to true, parameter will be compared for sort only if sharing the same hierarchy of visible groups
/// It is useful for events, default is <c>false</c>
/// </summary>
bool UseAdvancedSortingMode { set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public interface IScaleParametersPresenter : IPresenter<IScaleParametersView>
void Reset();

/// <summary>
/// set wether the scale and reset functions are enabled or not
/// set whether the scale and reset functions are enabled or not
/// </summary>
bool Enabled { set; }
}
Expand Down Expand Up @@ -56,7 +56,7 @@ public void Reset()

public bool Enabled
{
set { _view.ReadOnly = !value; }
set => _view.ReadOnly = !value;
}
}
}
42 changes: 21 additions & 21 deletions src/PKSim.UI/Views/Parameters/MultiParameterEditView.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

161 changes: 47 additions & 114 deletions src/PKSim.UI/Views/Parameters/ScaleParametersView.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa447a2

Please sign in to comment.