summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/manager.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-26 04:31:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-26 04:31:03 +0000
commitf1c4053e3315afa3181b460cbeade77523827f3e (patch)
treeca46f96794480bcb30f07388237cb39a12d2c3dc /plugins/FTPFileYM/src/manager.cpp
parente2722e2ccb5459c59d4b801db9de2b92c673621a (diff)
options saving fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/manager.cpp')
-rw-r--r--plugins/FTPFileYM/src/manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/manager.cpp b/plugins/FTPFileYM/src/manager.cpp
index abf1ec3f0a..3befc801ce 100644
--- a/plugins/FTPFileYM/src/manager.cpp
+++ b/plugins/FTPFileYM/src/manager.cpp
@@ -49,7 +49,8 @@ Manager::~Manager()
void Manager::init()
{
- if (opt.enabled != 0)
+ ServerList::FTP *ftp = ftpList.getSelected();
+ if (ftp->bEnabled)
{
this->hwnd = CreateDialog(hInst, MAKEINTRESOURCE(IDD_DLG_MANAGER), NULL, Manager::ManagerDlgProc);
this->hwndFileTree = GetDlgItem(this->hwnd, IDC_FILELIST);