mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Fixed bug - activity flag must not be an empty text
This commit is contained in:
parent
2cd7226c68
commit
b6a4e4a5e0
@ -220,7 +220,7 @@ public class DayPanel extends JPanel {
|
|||||||
null,
|
null,
|
||||||
""
|
""
|
||||||
);
|
);
|
||||||
if(newFlag != null) {
|
if(newFlag != null && !newFlag.isBlank()) {
|
||||||
getActivityPanels().forEach(a->
|
getActivityPanels().forEach(a->
|
||||||
{
|
{
|
||||||
a.getActivity().addFlag(newFlag);
|
a.getActivity().addFlag(newFlag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user