Skip to content

Commit

Permalink
[BUGFIX] Fix process_id setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharrnah committed Apr 16, 2023
1 parent 548d9a3 commit 90627b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pages/Profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ func CreateProfileWindow(onClose func()) fyne.CanvasObject {
backendCheckStateDialog.Hide()
dialog.ShowConfirm("Websocket Port in use", "The Websocket Port is already in use. Do you want to quit the running backend?", func(b bool) {
if b {
err := Utilities.KillProcessById(Settings.Config.ProcessId)
err := Utilities.KillProcessById(Settings.Config.Process_id)
if err != nil {
err = Utilities.SendQuitMessage(websocketAddr)
}
Expand Down
2 changes: 1 addition & 1 deletion Settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
type Conf struct {
// Internal Profile Settings
SettingsFilename string
ProcessId int `yaml:"process_id" json:"process_id"`
Process_id int `yaml:"process_id" json:"process_id"`
Device_index interface{} `yaml:"device_index,omitempty" json:"device_index,omitempty"`
Device_out_index interface{} `yaml:"device_out_index,omitempty" json:"device_out_index,omitempty"`

Expand Down

0 comments on commit 90627b2

Please sign in to comment.