This commit is contained in:
Crylia
2024-07-07 18:38:37 +02:00
parent 06f04f9afa
commit 35cd5f7d57
2 changed files with 2 additions and 3 deletions

View File

@@ -196,7 +196,6 @@ void EinsatzplanFrame::deleteVeranstaltung( ) {
"", &ok);
if (ok && text.size( ) == 3) {
m_controller->deleteVeranstaltung(text);
QMessageBox::information(this, "Veranstaltung entfernen", "Veranstaltung wird entfernt!");
m_planGrid->setPlanMap(m_planGrid->planGridController->getVeranstaltungen( ));
m_planGrid->populateGrid( );
@@ -222,7 +221,8 @@ void EinsatzplanFrame::deleteMember( ) {
if (ok && text.size( ) == 7) {
m_controller->deleteMember(text);
QMessageBox::information(this, "Mitarbeiter entfernen", "Mitarbeiter wird entfernt!");
m_planGrid->setPlanMap(m_planGrid->planGridController->getVeranstaltungen( ));
m_planGrid->populateGrid( );
}
}

View File

@@ -15,7 +15,6 @@ private:
QString m_weekdays[5];
QString m_times[6];
protected:
QGridLayout* gridLayout;
QMap<QPair<QString, QString>, QWidget*>* planMap;