Adding new items to the model can now be made undone/redone.
This commit is contained in:
@ -22,14 +22,14 @@ class GenericCore : public QObject {
|
||||
bool isApplicationUpdateAvailable();
|
||||
void triggerApplicationUpdate();
|
||||
|
||||
std::shared_ptr<QUndoStack> getModUndoStack() const;
|
||||
QUndoStack* getModelUndoStack() const;
|
||||
std::shared_ptr<TableModel> getModel() const;
|
||||
|
||||
signals:
|
||||
void displayStatusMessage(QString message);
|
||||
|
||||
private:
|
||||
std::shared_ptr<QUndoStack> m_modelUndoStack;
|
||||
QUndoStack* m_modelUndoStack;
|
||||
std::shared_ptr<TableModel> m_mainModel;
|
||||
|
||||
void setupModels();
|
||||
|
||||
Reference in New Issue
Block a user