Skip to content

Commit

Permalink
fix(gradle): add missing icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Hoefer committed Dec 18, 2020
1 parent f7c105b commit 059ba8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ compose.desktop {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "ck3-workbench"
windows {
iconFile.set(File("/assets/icons/ck3.ico"))
iconFile.set(File("src/main/resources/icons/ck3.ico"))
shortcut = true
dirChooser = true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.xetra11.ck3workbench.app.view

import androidx.compose.desktop.AppManager
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -66,7 +67,7 @@ private fun ExportCharacterDialog() {
}) { BasicButtonText("Export") }
},
dismissButton = {
BasicButton(onClick = { DialogManager.closeDialog() }) { BasicButtonText("Cancel") }
BasicButton(onClick = { AppManager.focusedWindow?.close() }) { BasicButtonText("Cancel") }
}
)
}

0 comments on commit 059ba8f

Please sign in to comment.