mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
make-internal fail if there is a ui_item, not if there isn't.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user