Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nils Vreman
ScheduLearn
Commits
f5de4bbf
Commit
f5de4bbf
authored
Nov 09, 2018
by
Nils Vreman
Browse files
Only markUpdate left to fix
parent
be339d1d
Changes
1
Show whitespace changes
Inline
Side-by-side
gui/tasksetgui/TasksetDisplay.java
View file @
f5de4bbf
...
...
@@ -99,7 +99,6 @@ public class TasksetDisplay extends BoxPanel implements Observer, UpdateListener
marked
=
Optional
.
of
((
TaskGrid
)
obj
);
for
(
TaskGrid
tg
:
gridList
)
{
//if (marked.map(taskgrid -> taskgrid.equals(tg)).orElse(false)) marked = Optional.of(tg);
tg
.
unmark
();
}
...
...
@@ -144,6 +143,10 @@ public class TasksetDisplay extends BoxPanel implements Observer, UpdateListener
if
(
prio
!=
-
1
)
{
taskset
.
removeTask
(
prio
);
marked
=
Optional
.
empty
();
// Unmarks the rest of the grid
for
(
TaskGrid
tg
:
gridList
)
{
tg
.
unmark
();
}
}
}
catch
(
NoSuchElementException
e
)
{}
}
...
...
Write
Preview
Supports
Markdown
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