ui/patterns: Added settings tooltips, fixed pattern crash (#464)

* fix: pattern segfault typo

* ui: added few tooltips into settings

Co-authored-by: WerWolv <werwolv98@gmail.com>
This commit is contained in:
Lukas Cone
2022-03-05 23:32:30 +01:00
committed by GitHub
parent f21b22ae15
commit 3da1b3f05d
8 changed files with 17 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ namespace hex::pl {
}
if (auto &arrayEntries = arrayPattern->getEntries(); !entries.empty())
if (auto &arrayEntries = arrayPattern->getEntries(); !arrayEntries.empty())
arrayPattern->setTypeName(arrayEntries.front()->getTypeName());
arrayPattern->setEntries(std::move(entries));