forked from IF-LK-2020/mymail
mails können gelöscht werden
This commit is contained in:
@@ -99,7 +99,7 @@ public class MyMailGUI extends JFrame implements ActionListener, ListSelectionLi
|
||||
if( e.getActionCommand().equals("load") ) {
|
||||
app.getAllMails();
|
||||
} else if( e.getActionCommand().equals("delete") ) {
|
||||
//app.deleteMail(jtMaillist.getSelectedRow()+1);
|
||||
app.deleteMail(mails.get(jtMaillist.getSelectedRow()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user