diff --git a/meggie/mainwindow/dialogs/channelGroupsDialogMain.py b/meggie/mainwindow/dialogs/channelGroupsDialogMain.py index 59119512..e8ea79ae 100644 --- a/meggie/mainwindow/dialogs/channelGroupsDialogMain.py +++ b/meggie/mainwindow/dialogs/channelGroupsDialogMain.py @@ -44,6 +44,9 @@ def on_pushButtonAdd_clicked(self, checked=None): name = self.ui.lineEditAdd.text() + if not name: + return + if self.ui.radioButtonEEG.isChecked(): if name in self.eeg_channel_groups.keys(): return