Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Fix exception thrown when run from command line #51

Merged
merged 1 commit into from
Mar 29, 2018
Merged

Fix exception thrown when run from command line #51

merged 1 commit into from
Mar 29, 2018

Conversation

villetuh
Copy link

Opening project from command line doesn't work because exception is
thrown when trying to launch the application. Exception occurs because
application is trying to retrieve _launchArguments for the row of the
currently selected cell. When running from command line currently
selected cell is null and that causes a null reference exception to
occur.

Issue is fixed by checking the current grid and cell for null and
handling the situation like no row has been selected.

Opening project from command line doesn't work because exception is
thrown when trying to launch the application. Exception occurs because
application is trying to retrieve _launchArguments for the row of the
currently selected cell. When running from command line currently
selected cell is null and that causes a null reference exception to
occur.

Issue is fixed by checking the current grid and cell for null and
handling the situation like no row has been selected.
@unitycoder unitycoder merged commit 00dee17 into unitycoder:master Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants