mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 799435 - Right-click issue in reconcile window
If another transaction(s) is(are) already selected, right-click will add to the selection rather than select the new transaction and bring up the right-click menu. Added check to see if current path is selected.
This commit is contained in:
parent
e63210f1b4
commit
469a1278c0
@ -983,7 +983,11 @@ gnc_reconcile_window_button_press_cb (GtkWidget *widget,
|
||||
{
|
||||
GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(qview));
|
||||
|
||||
gtk_tree_selection_select_path (selection, path);
|
||||
if (!gtk_tree_selection_path_is_selected (selection, path))
|
||||
{
|
||||
gtk_tree_selection_unselect_all (selection);
|
||||
gtk_tree_selection_select_path (selection, path);
|
||||
}
|
||||
gtk_tree_path_free (path);
|
||||
}
|
||||
do_popup_menu (recnData, event);
|
||||
|
Loading…
Reference in New Issue
Block a user