Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
0a24bf6e
Commit
0a24bf6e
authored
Jun 16, 2017
by
Sylvain Dailler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bad interaction between remove and focus.
parent
74299a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
src/session/itp_server.ml
src/session/itp_server.ml
+10
-4
No files found.
src/session/itp_server.ml
View file @
0a24bf6e
...
...
@@ -553,6 +553,14 @@ module P = struct
let
get_requests
=
Pr
.
get_requests
(* true if nid is below f_node or does not exists (in which case the
notification is a remove). false if not below. *)
let
is_below
s
nid
f_node
=
let
any
=
try
Some
(
any_from_node_ID
nid
)
with
_
->
None
in
match
any
with
|
None
->
true
|
Some
any
->
Session_itp
.
is_below
s
any
f_node
let
notify
n
=
let
d
=
get_server_data
()
in
let
s
=
d
.
cont
.
controller_session
in
...
...
@@ -562,10 +570,8 @@ module P = struct
let
updated_node
=
get_modified_node
n
in
match
updated_node
with
|
None
->
Pr
.
notify
n
|
Some
nid
when
let
any
=
any_from_node_ID
nid
in
Session_itp
.
is_below
s
any
f_node
->
Pr
.
notify
n
|
Some
nid
when
is_below
s
nid
f_node
->
Pr
.
notify
n
|
_
->
()
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment