mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-04 23:34:39 +00:00
Do not use select button to modify selectable state
This commit is contained in:
parent
213c8fc9e4
commit
83b2ad72c2
1 changed files with 2 additions and 5 deletions
|
@ -874,16 +874,13 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
|
|||
[GtkCallback]
|
||||
private void on_select_cancel_button_clicked()
|
||||
{
|
||||
d_select_button.active = false;
|
||||
selectable_mode = GitgExt.SelectionMode.NORMAL;
|
||||
}
|
||||
|
||||
[Signal(action = true)]
|
||||
public virtual signal void cancel()
|
||||
{
|
||||
if (d_select_button.active)
|
||||
{
|
||||
d_select_button.active = false;
|
||||
}
|
||||
selectable_mode = GitgExt.SelectionMode.NORMAL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue