From c96d1c12f1fd2a34105305cb560792936c246259 Mon Sep 17 00:00:00 2001 From: Louie S Date: Tue, 12 Mar 2024 18:37:06 -0400 Subject: Implement editEntryForm --- src/editGroupForm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/editGroupForm.cpp') 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"); -- cgit