mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* When deleting a temporary page, make sure it's freed when it is the currently active page.
This commit is contained in:
@@ -514,6 +514,7 @@ ViewManager::destroyPage( ViewPage* page )
|
|||||||
m_currentPage = 0;
|
m_currentPage = 0;
|
||||||
|
|
||||||
historyBack();
|
historyBack();
|
||||||
|
delete page;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user