#6344 Fix logic error displaying clipboard sharing status
This commit is contained in:
parent
3cb7a5c101
commit
7c29d8e704
|
@ -363,7 +363,7 @@ Client::setOptions(const OptionsList& options)
|
||||||
if (id == kOptionClipboardSharing) {
|
if (id == kOptionClipboardSharing) {
|
||||||
index++;
|
index++;
|
||||||
if (index != options.end()) {
|
if (index != options.end()) {
|
||||||
if (*index) {
|
if (!*index) {
|
||||||
LOG((CLOG_NOTE "clipboard sharing is disabled"));
|
LOG((CLOG_NOTE "clipboard sharing is disabled"));
|
||||||
}
|
}
|
||||||
m_enableClipboard = *index;
|
m_enableClipboard = *index;
|
||||||
|
|
Loading…
Reference in New Issue