From e7065b8af09ffccc51ec38c5f9a24d087a3621e9 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 14 Dec 2005 15:22:00 +0000 Subject: [PATCH] One more fix for bug 10815: 'Copy' and 'Paste' functionalities are disabled after 'Copy-Paste'. --- src/SalomeApp/SalomeApp_Application.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 80f3080e5..b985f077d 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -471,10 +471,8 @@ void SalomeApp_Application::updateCommandsStatus() if( a ) a->setEnabled( activeStudy() ); - a = action(EditCopyId); - a->setEnabled(false); - a = action(EditPasteId); - a->setEnabled(false); + // update state of Copy/Paste menu items + onSelectionChanged(); } /*!Private SLOT. On dump study.*/ -- 2.39.2