mirror of
https://github.com/garraflavatra/rolens.git
synced 2024-12-01 13:20:54 +00:00
Corrected mistakes in previous commits
This commit is contained in:
parent
c81c5c9c73
commit
6931e63f47
@ -67,7 +67,7 @@
|
|||||||
busy.start();
|
busy.start();
|
||||||
await DropCollection(activeHostKey, dbKey, collKey);
|
await DropCollection(activeHostKey, dbKey, collKey);
|
||||||
await openConnection(activeHostKey);
|
await openConnection(activeHostKey);
|
||||||
await openCollection(collKey);
|
await openDatabase(dbKey);
|
||||||
busy.end();
|
busy.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ func (a *App) DropDatabase(hostKey, dbKey string) bool {
|
|||||||
sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{
|
sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{
|
||||||
Title: "Confirm",
|
Title: "Confirm",
|
||||||
Message: "Are you sure you want to drop " + dbKey + "?",
|
Message: "Are you sure you want to drop " + dbKey + "?",
|
||||||
Buttons: []string{"yes", "no"},
|
Buttons: []string{"Yes", "No"},
|
||||||
DefaultButton: "Yes",
|
DefaultButton: "Yes",
|
||||||
CancelButton: "No",
|
CancelButton: "No",
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user