1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-20 22:48:02 +00:00

Edit hosts

This commit is contained in:
2023-01-20 19:08:56 +01:00
parent c54c3b1ff6
commit 05058bf363
3 changed files with 50 additions and 17 deletions

View File

@ -162,7 +162,7 @@ func (a *App) RemoveHost(key string) error {
sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{
Title: "Confirm",
Message: "Are you sure you want to remove " + key + "?",
Message: "Are you sure you want to remove " + hosts[key].Name + "?",
Buttons: []string{"Yes", "No"},
DefaultButton: "Yes",
CancelButton: "No",