Fixed camp settings saving. Added about messagebox. Methods IGridForm::handleNewRecord and IGridForm::handleEditRecord are virtual now.

This commit is contained in:
2017-05-12 14:33:14 +02:00
parent d5ead1b187
commit cd4d58749a
6 changed files with 79 additions and 14 deletions
+2 -2
View File
@@ -173,7 +173,7 @@ private slots:
// IGridForm interface
protected:
void handleNewRecord() override
virtual void handleNewRecord() override
{
if (m_form == NULL)
{
@@ -186,7 +186,7 @@ protected:
m_formHandler->showForm(m_form);
}
void handleEditRecord() override
virtual void handleEditRecord() override
{
if (m_form == NULL || m_tableModel == NULL || tableView()->currentIndex().row() < 0)
{