From 27da46a0e764b80fff9b2cecd22c2c2bee29aea4 Mon Sep 17 00:00:00 2001 From: "Thomas Lange [tl]" Date: Fri, 21 May 2010 10:13:38 +0200 Subject: cws tl74: updating slots fixed --- starmath/source/edit.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'starmath/source') diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 302b475c0452..f7093f9c3815 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -880,7 +880,10 @@ void SmEditWindow::Cut() { DBG_ASSERT( pEditView, "EditView missing" ); if (pEditView) + { pEditView->Cut(); + GetDoc()->SetModified( TRUE ); + } } void SmEditWindow::Copy() @@ -894,14 +897,20 @@ void SmEditWindow::Paste() { DBG_ASSERT( pEditView, "EditView missing" ); if (pEditView) + { pEditView->Paste(); + GetDoc()->SetModified( TRUE ); + } } void SmEditWindow::Delete() { DBG_ASSERT( pEditView, "EditView missing" ); if (pEditView) + { pEditView->DeleteSelected(); + GetDoc()->SetModified( TRUE ); + } } void SmEditWindow::InsertText(const String& Text) -- cgit