Set the undostack so we won't crash...

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 10 years ago
parent d30e9ad226
commit 28c30b70f1

@ -280,6 +280,7 @@ void CMainWindow::openWorkFile(QString file)
if(isWorksheetEditor(file_path->filePath()))
{
CEditorWorksheet *new_window = new CEditorWorksheet(_ui.mdiArea);
new_window->setUndoStack( m_undoStack );
new_window->open(file_path->filePath());
new_window->activateWindow();
}

Loading…
Cancel
Save