Merge pull request #177 from ryonakano/fix-add-account
SourceListView: Fix segfault when adding account
This commit is contained in:
commit
ad93b100b1
|
@ -1083,7 +1083,7 @@ namespace EasySSH {
|
||||||
if(accounts[i] == null) {
|
if(accounts[i] == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var s_account = new Host();
|
var s_account = new Account();
|
||||||
s_account.name = accounts[i].name;
|
s_account.name = accounts[i].name;
|
||||||
s_account.username = accounts[i].username;
|
s_account.username = accounts[i].username;
|
||||||
s_account.password = accounts[i].password;
|
s_account.password = accounts[i].password;
|
||||||
|
|
Loading…
Reference in New Issue