Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1925 #1926

Merged

Conversation

msevestre
Copy link
Member

No description provided.

@@ -31,20 +31,14 @@ private static SvgImage bytesToImage(byte[] bytes)

public static implicit operator SvgImage(ApplicationIcon icon) => icon.ToSvgImage();

public static implicit operator Image(ApplicationIcon icon) => icon.ToImage();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yuri05 When we moved to svg, we lost the ability to convert implicitly to image. This was a breaking change that I did nto realize. The component that display in the grid only accepts image and hence the bug. Thsi is also a bug in a few other places in PKSim where we are returning an icon instead of an image (pop import from csv file for instance). Hence I decided to fix it here instead of everywhere

@msevestre msevestre merged commit 3a9d11c into develop Mar 18, 2023
@msevestre msevestre deleted the 1925-applicationicon-should-convert-implicitely-to-image branch March 18, 2023 16:45
rwmcintosh added a commit that referenced this pull request Feb 14, 2024
* 1886 importer unit for fraction not recognized (#1892)

* changing the check

* correction to get the first non empty unit

* cleaning up

* Fixes #1925 (#1926)

@Yuri05 Merging. NEed to test in the app

* Fixes #1925 (#1927)

* 2566 fixed (#1932)

* nunit adapter updated (#1938)

* Fixes #1379 (#1948)

* Fixes #1946 mobi cannot handler observed data sets with only 1 point (#1947)

* Fixes #1949 data importer parsing unit should be case insensitive (#1952)

* Fixes #1949 data importer parsing unit should be case insensitive

* Run resharper

* Remove fake to use real dimensions

* Remove fake to use real dimensions

* refactoring and removing further .HasUnit() calls

---------

Co-authored-by: georgeDaskalakis <[email protected]>

* preventing exception (#1957)

* templates changed (#1962)

---------

Co-authored-by: georgeDaskalakis <[email protected]>
Co-authored-by: Michael Sevestre <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant