Commit 4d26a30d authored by Aleksei Kanash's avatar Aleksei Kanash

Fixed Sankore-782.

parent 515e26f7
...@@ -318,6 +318,7 @@ void UBDockPalette::toggleCollapseExpand() ...@@ -318,6 +318,7 @@ void UBDockPalette::toggleCollapseExpand()
resize(mLastWidth,height()); resize(mLastWidth,height());
else{ else{
mLastWidth = width(); mLastWidth = width();
update();
resize(0,height()); resize(0,height());
} }
} }
...@@ -691,6 +692,7 @@ void UBTabDockPalette::mouseMoveEvent(QMouseEvent *event) ...@@ -691,6 +692,7 @@ void UBTabDockPalette::mouseMoveEvent(QMouseEvent *event)
case eUBDockOrientation_Left: case eUBDockOrientation_Left:
p.setX(p.x() + dock->width()); p.setX(p.x() + dock->width());
if(p.x() < dock->collapseWidth() && p.x() >= dock->minimumWidth()) { if(p.x() < dock->collapseWidth() && p.x() >= dock->minimumWidth()) {
dock->update();
dock->resize(0, dock->height()); dock->resize(0, dock->height());
//dock->mLastWidth = dock->collapseWidth() + 1; //dock->mLastWidth = dock->collapseWidth() + 1;
dock->mResized = true; dock->mResized = true;
......
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