Resolves: tdf#101221 VclPtr: funkiness with PopupMenu dtor before dispose
Change-Id: I6f8d980cc14b7f8c7b7ed5ee66a54dfce9d6e09a
This commit is contained in:
@@ -927,6 +927,7 @@ void SidebarController::ShowPopupMenu (
|
||||
Rectangle aBox (rButtonBox);
|
||||
aBox.Move(mpTabBar->GetPosPixel().X(), 0);
|
||||
pMenu->Execute(mpParentWindow, aBox, PopupMenuFlags::ExecuteDown);
|
||||
pMenu.disposeAndClear();
|
||||
}
|
||||
|
||||
VclPtr<PopupMenu> SidebarController::CreatePopupMenu (
|
||||
|
Reference in New Issue
Block a user