This repository was archived by the owner on May 19, 2021. It is now read-only.
Commit 07b522b
Ville Tuhkanen
Fix exception thrown when run from command line
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.1 parent 3caec9d commit 07b522b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
1131 | | - | |
1132 | | - | |
| 1131 | + | |
| 1132 | + | |
1133 | 1133 | | |
1134 | | - | |
| 1134 | + | |
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
| |||
0 commit comments