feat: Make all tool windows be detachable

This commit is contained in:
WerWolv
2022-10-13 10:47:35 +02:00
parent 14b28ba899
commit 8b39c8f219
5 changed files with 53 additions and 6 deletions

View File

@@ -338,7 +338,7 @@ namespace hex {
void add(const std::string &unlocalizedName, const impl::Callback &function) {
log::debug("Registered new tool: {}", unlocalizedName);
getEntries().emplace_back(impl::Entry { unlocalizedName, function });
getEntries().emplace_back(impl::Entry { unlocalizedName, function, false });
}
std::vector<impl::Entry> &getEntries() {