Commit 10fbc0ea authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix logic error in SplitterProxy::setEnabled

It clears the splitter when enabling it, that seems wrong.
Despite this bug, it still mostly worked before because the eventFilter checked
for _enabled anyway.

(cherry picked from commit 4b10546c)
parent f5dc6da8
...@@ -150,7 +150,7 @@ namespace Breeze ...@@ -150,7 +150,7 @@ namespace Breeze
if( _enabled != value ) if( _enabled != value )
{ {
_enabled = value; _enabled = value;
if( _enabled ) clearSplitter(); if( !_enabled ) clearSplitter();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment