This commit is contained in:
Herwig Birke
2018-05-09 17:59:27 +02:00
parent d3eeee295e
commit b02734e020
21 changed files with 1123 additions and 148 deletions
+8 -1
View File
@@ -46,6 +46,7 @@ cMainWindow::cMainWindow(QWidget *parent) :
m_lpPlaceModel(0),
m_lpObjectModel(0),
m_bUpdatingTab(false),
m_bSomethingChanged(false),
m_lpStoryBook(0),
m_lpFileMenu(0),
m_lpEditMenu(0),
@@ -1138,12 +1139,18 @@ void cMainWindow::onFileOpen()
bool cMainWindow::onFileSave()
{
if(m_lpStoryBook)
m_lpStoryBook->save();
m_bSomethingChanged = false;
updateWindowTitle();
return(true);
}
bool cMainWindow::onFileSaveAs()
{
return(true);
return(onFileSave());
// return(true);
}
void cMainWindow::onFilePrint()