mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-04 06:59:25 +00:00
Do not allow changing of activity in selection mode
This commit is contained in:
parent
0aa4a49d2d
commit
a5ff55eef5
|
@ -97,6 +97,11 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
|
|||
[Signal(action = true)]
|
||||
public virtual signal bool change_to_activity(int i)
|
||||
{
|
||||
if (d_selectable_mode == GitgExt.SelectionMode.SELECTION)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (i == 0)
|
||||
{
|
||||
if (d_mode == Mode.ACTIVITY)
|
||||
|
|
Loading…
Reference in a new issue