mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798649 - Crash when closing Edit Style Sheets dialog while...
Style Sheet Properties dialog is still open. Because the style_sheet_dialog is already destroyed and nulled.
This commit is contained in:
parent
093aa81ed1
commit
f5099b3d87
@ -138,7 +138,7 @@ gnc_style_sheet_options_close_cb (GNCOptionWin * propertybox,
|
||||
ss_info * ssi = user_data;
|
||||
GtkTreeIter iter;
|
||||
|
||||
if (gtk_tree_row_reference_valid (ssi->row_ref))
|
||||
if (gnc_style_sheet_dialog && gtk_tree_row_reference_valid (ssi->row_ref))
|
||||
{
|
||||
StyleSheetDialog * ss = gnc_style_sheet_dialog;
|
||||
GtkTreePath *path = gtk_tree_row_reference_get_path (ssi->row_ref);
|
||||
|
Loading…
Reference in New Issue
Block a user