summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-09 11:47:24 +0300
committeraunsane <aunsane@gmail.com>2018-03-09 11:55:09 +0300
commit0db4d44067c2e4f652e4d6a81ffdf53c2ef8d0cd (patch)
treef4a07259b388c3a46d007bbe93cb4ba26fc35f49 /plugins
parentf08e174287abc725bd0025f72dea4fca90af97ba (diff)
Autobackup to CloudFile doesn't work (fixed #1176)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Db_autobackups/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db_autobackups/src/options.cpp b/plugins/Db_autobackups/src/options.cpp
index 113aa1fdc8..047986ce85 100644
--- a/plugins/Db_autobackups/src/options.cpp
+++ b/plugins/Db_autobackups/src/options.cpp
@@ -137,7 +137,7 @@ void COptionsDlg::OnApply()
}
int currentService = m_cloudFileService.GetCurSel();
- options.cloudfile_service = currentService > 0
+ options.cloudfile_service = currentService >= 0
? (char*)m_cloudFileService.GetItemData(currentService)
: nullptr;
}