Fixed camp settings saving. Added about messagebox. Methods IGridForm::handleNewRecord and IGridForm::handleEditRecord are virtual now.
This commit is contained in:
+2
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user