gnucash maint: [gnc-plugin-page-sx-list] don't disable Edit/Delete at startup

Christopher Lam clam at code.gnucash.org
Sun Oct 23 04:24:02 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/b778152e (commit)
	from  https://github.com/Gnucash/gnucash/commit/704946d5 (commit)



commit b778152eba92460cf0edeb33b1b92a4733d89bb2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 23 16:13:01 2022 +0800

    [gnc-plugin-page-sx-list] don't disable Edit/Delete at startup
    
    At startup, if there are SX in the editor, the previous block disables
    Edit & Delete actions, yet in the next block, the call to
    gtk_tree_selection_select_path will select a SX which cannot be edited
    nor deleted unless the user selects it again.
    
    This commit skips disabling Edit & Delete actions, and calls
    gppsl_selection_changed_cb which enables Edit & Delete sensitivity if
    there is a SX selected.



Summary of changes:
 gnucash/gnome/gnc-plugin-page-sx-list.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)



More information about the gnucash-patches mailing list