linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00713
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2122: Save the 'Share hidden files' checkbox value to the correct setting
------------------------------------------------------------
revno: 2122
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Mon 2010-04-05 18:53:58 +0200
message:
Save the 'Share hidden files' checkbox value to the correct setting
modified:
changelog.txt
win32/UploadPage.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2010-03-30 01:32:40 +0000
+++ changelog.txt 2010-04-05 16:53:58 +0000
@@ -8,6 +8,7 @@
* Add user commands to the chat menu (poy)
* OpenSSL 0.9.8n - defends against a remote crash (poy)
* [L#548743] Fix broken share regression on non-Windows systems (steven sheehy)
+* Fix 'Share hidden files' checkbox value saved to a wrong setting (emtee)
-- 0.761 2010-03-14 --
* [L#533840] Fix crashes with themed menus (poy)
=== modified file 'win32/UploadPage.cpp'
--- win32/UploadPage.cpp 2010-02-11 21:44:13 +0000
+++ win32/UploadPage.cpp 2010-04-05 16:53:58 +0000
@@ -192,7 +192,7 @@
void UploadPage::handleShareHiddenClicked(CheckBoxPtr checkBox) {
// Save the checkbox state so that ShareManager knows to include/exclude hidden files
- Item i = items[1]; // The checkbox. Explicit index used - bad!
+ Item i = items[0]; // The checkbox. Explicit index used - bad!
SettingsManager::getInstance()->set((SettingsManager::IntSetting)i.setting, checkBox->getChecked());
// Refresh the share. This is a blocking refresh. Might cause problems?