mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
Casting error on the terminal
Opening options dialog would generate the following error on the terminal, invalid cast from 'GtkComboBox' to 'GNCDateEdit' which was traced back to the RelativeDateEntry block_signals function. The returned value of the cast was not being used so was removed.
This commit is contained in:
parent
3fcaaef657
commit
6e8272b7b3
@ -1248,7 +1248,6 @@ RelativeDateEntry::set_option_from_entry(GncOption& option)
|
||||
void
|
||||
RelativeDateEntry::block_signals(bool block)
|
||||
{
|
||||
auto entry{G_OBJECT(GNC_DATE_EDIT(m_entry)->date_entry)};
|
||||
if (block)
|
||||
g_signal_handler_block(m_entry, m_handler_id);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user