Skip to content

Commit

Permalink
make-internal fail if there is a ui_item, not if there isn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Aug 1, 2021
1 parent 29a2365 commit 6eb5dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/app-utils/gnc-option.cpp
Expand Up @@ -254,7 +254,7 @@ GncOption::set_option_from_ui_item()
void
GncOption::make_internal()
{
if (!m_ui_item)
if (m_ui_item)
{
PERR("Option %s:%s has a UI Element, can't be INTERNAL.",
get_section().c_str(), get_name().c_str());
Expand Down

0 comments on commit 6eb5dfe

Please sign in to comment.