diff options
author | Louie S <louie@example.com> | 2024-03-12 18:37:06 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-12 18:37:06 -0400 |
commit | c96d1c12f1fd2a34105305cb560792936c246259 (patch) | |
tree | c992dc60f8303a0c77cbbdec3b4ded932eba2c3e /src/editGroupForm.cpp | |
parent | e9c68303aaa353f003a0c68d11d04b9c6062104b (diff) |
Implement editEntryForm
Diffstat (limited to 'src/editGroupForm.cpp')
-rw-r--r-- | src/editGroupForm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editGroupForm.cpp b/src/editGroupForm.cpp index 351fddd..52c45ac 100644 --- a/src/editGroupForm.cpp +++ b/src/editGroupForm.cpp @@ -20,13 +20,13 @@ EditGroupForm::EditGroupForm(const Group &g) : } void EditGroupForm::accept() { - group.name = ui.group_name->text(); - group.column = Group::Column(ui.group_column->currentIndex()); - group.link = ui.group_link->text(); + this->group.name = ui.group_name->text(); + this->group.column = Group::Column(ui.group_column->currentIndex()); + this->group.link = ui.group_link->text(); QMessageBox error_message; BackendDB database; - if(group.name.isEmpty()) { + if(this->group.name.isEmpty()) { error_message.setIcon(QMessageBox::Warning); error_message.setWindowTitle("Error Message"); error_message.setText("Name cannot be blank"); |