parent
2c374e9761
commit
0e671b1569
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
||||
Subproject commit f192b6a22c45f510a6ab22cb96861c79aa472137
|
||||
Subproject commit a157dbcd96e7a1b3714b5b0c49049c8ec653707c
|
@ -279,7 +279,13 @@ namespace hex::plugin::builtin::ui {
|
||||
}
|
||||
|
||||
void PatternDrawer::drawValueColumn(pl::ptrn::Pattern& pattern) {
|
||||
const auto value = pattern.getFormattedValue();
|
||||
std::string value;
|
||||
|
||||
try {
|
||||
value = pattern.getFormattedValue();
|
||||
} catch (const std::exception &e) {
|
||||
value = e.what();
|
||||
}
|
||||
|
||||
const auto width = ImGui::GetColumnWidth();
|
||||
if (const auto &visualizeArgs = pattern.getAttributeArguments("hex::visualize"); !visualizeArgs.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user