mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
add exception
This commit is contained in:
parent
659588cd9e
commit
55a995d1af
@ -120,14 +120,15 @@ void Tab::update(
|
|||||||
PAGE_NUMBER
|
PAGE_NUMBER
|
||||||
);
|
);
|
||||||
|
|
||||||
if (pageWidget != nullptr)
|
if (pageWidget == nullptr)
|
||||||
{
|
{
|
||||||
pageWidget->activate_action(
|
throw _("Tab page not found!");
|
||||||
"page.update"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // @TODO
|
pageWidget->activate_action(
|
||||||
|
"page.update"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// Private helpers
|
// Private helpers
|
||||||
tab::Label * Tab::get_tabLabel(
|
tab::Label * Tab::get_tabLabel(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user