Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4125
berryPartSashContainer.diff
Truite (Guilhem Bernard)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Truite
Sep 8 2016, 3:37 PM
2016-09-08 15:37:34 (UTC+2)
Size
457 B
Referenced Files
None
Subscribers
None
berryPartSashContainer.diff
View Options
@@ -153,9 +153,11 @@ void PartSashContainer::DropObject(const QList<PartPane::Pointer>& toDrop,
LayoutPart::Pointer next = toDrop[idx];
this->Stack(next, newPart);
}
-
- this->AddEnhanced(newPart, side, this->GetDockingRatio(newPart, targetStack),
+ if (toDrop.size() > 0)
+ {
+ this->AddEnhanced(newPart, side, this->GetDockingRatio(newPart, targetStack),
targetLayoutPart);
+ }
}
if (visiblePart != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2634
Default Alt Text
berryPartSashContainer.diff (457 B)
Attached To
Mode
T19960: Empty partStashContainer can be duplicated leading to multiple empty boxes in the workbench window
Attached
Detach File
Event Timeline
Log In to Comment