impr: Make sure all views are closed before loading new workspace or layout

This commit is contained in:
WerWolv
2023-12-24 14:51:47 +01:00
parent d2d244ebc7
commit 98bc89cb39
3 changed files with 17 additions and 0 deletions

View File

@@ -71,6 +71,11 @@ namespace hex {
*/
static void lockLayout(bool locked);
/**
* @brief Closes all views
*/
static void closeAllViews();
private:
LayoutManager() = default;
};