Skip to content

Commit e303cee

Browse files
committed
fix crash when renaming a project
1 parent 3c2baa8 commit e303cee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ _Changes since 1.7.3_
2222
- Mouse hovering the Duration label in the Response Viewer now shows the flight start and end date time
2323

2424
### Fixed
25+
- Crash when renaming a project
2526
- Crash when selecting the last tab of a HTTP request then switching to a gRPC or WS request
2627
- Crash when firing a GraphQL request with an invalid variable JSON
2728

src/jvmMain/kotlin/com/sunnychung/application/multiplatform/hellohttp/ux/ProjectAndEnvironmentView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ fun ProjectAndEnvironmentViewV2(
136136
when (showDialogType) {
137137
EditDialogType.Project -> selectedProject!!.id
138138
EditDialogType.CreateSubproject -> selectedSubproject!!.id
139+
EditDialogType.None -> return@MainWindowDialog
139140
else -> throw UnsupportedOperationException()
140141
}
141142
}

0 commit comments

Comments
 (0)