Skip to content
Browse files

fixing some reminder bugs

  • Loading branch information...
1 parent 02a4a17 commit d1bf1052e5edb789cf9983b10f28a702f647fd4a @anti43 committed Mar 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/mpv5/ui/panels/RemindPanel.java
View
4 src/mpv5/ui/panels/RemindPanel.java
@@ -392,6 +392,7 @@ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRS
s.setCname(msg);
s.setGroupsids(mpv5.db.objects.User.getCurrentUser().__getGroupsids());
s.setDescription(jTextPane1.getText());
+ s.setTemplategroup(mpv5.db.objects.User.getCurrentUser().__getGroupsids());
try {
s.setExtravalue(Double.valueOf(labeledTextField1.getText()));
} catch (NumberFormatException e) {
@@ -587,6 +588,9 @@ private void save() {
labeledCombobox3.triggerSearch();
}
+ if(dataOwner==null){
+ dataOwner = new Reminder();
+ }
dataOwner.setDescription(jTextPane1.getText());
try {
dataOwner.setExtravalue(Double.valueOf(labeledTextField1.getText()));

0 comments on commit d1bf105

Please sign in to comment.
Something went wrong with that request. Please try again.