Fix unnecessary update on Save
This commit is contained in:
committed by
Yorik van Havre
parent
2ba6830781
commit
8ea5b43f88
@@ -498,11 +498,9 @@ bool MDIViewPage::onMsg(const char *pMsg, const char **)
|
||||
return true;
|
||||
} else if (strcmp("Save", pMsg) == 0 ) {
|
||||
doc->save();
|
||||
Gui::Command::updateActive();
|
||||
return true;
|
||||
} else if (strcmp("SaveAs", pMsg) == 0 ) {
|
||||
doc->saveAs();
|
||||
Gui::Command::updateActive();
|
||||
return true;
|
||||
} else if (strcmp("Undo", pMsg) == 0 ) {
|
||||
doc->undo(1);
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
void matchSceneRectToTemplate(void);
|
||||
|
||||
bool onMsg(const char* pMsg,const char** ppReturn);
|
||||
bool onHasMsg(const char* pMsg) const;
|
||||
bool onHasMsg(const char* pMsg) const;
|
||||
|
||||
void print();
|
||||
void print(QPrinter* printer);
|
||||
|
||||
Reference in New Issue
Block a user