[nostalgia/studio] Hook up QUndoGroup in MainWindow to tabs

This commit is contained in:
2019-12-06 23:27:36 -06:00
parent dd3e5913ed
commit ecde378aba
3 changed files with 50 additions and 21 deletions
+2 -1
View File
@@ -13,6 +13,7 @@
#include <QVector>
#include <QWizardPage>
#include "editor.hpp"
#include "project.hpp"
#include "wizard.hpp"
@@ -27,7 +28,7 @@ struct Context {
struct EditorMaker {
QStringList fileTypes;
std::function<QWidget*(QString)> make;
std::function<Editor*(QString)> make;
};
class Plugin {