summaryrefslogtreecommitdiff
path: root/add_group_form.py
diff options
context:
space:
mode:
Diffstat (limited to 'add_group_form.py')
-rw-r--r--add_group_form.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/add_group_form.py b/add_group_form.py
index 9a88385..e62b211 100644
--- a/add_group_form.py
+++ b/add_group_form.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python3
import sys
from PyQt5.QtWidgets import QApplication, QComboBox, QDialog, QFormLayout, QHBoxLayout, QLabel, QLineEdit, QMessageBox, QPushButton
from PyQt5.QtGui import QFont
@@ -8,6 +7,9 @@ from add_entry_form import Globals
from group import Group
class addGroupForm(QDialog):
+ """
+ Implemented so that it can be used for adding and editing groups
+ """
def __init__(self):
super().__init__()
self.initializeUI()
@@ -43,7 +45,7 @@ class addGroupForm(QDialog):
close_button.clicked.connect(self.close)
buttons_h_box.addWidget(close_button)
submit_button = QPushButton("Submit")
- submit_button.clicked.connect(self.handleSubmit) # TODO connect this to a real method
+ submit_button.clicked.connect(self.handleSubmit)
buttons_h_box.addWidget(submit_button)
buttons_h_box.addStretch()