SANKORE-274 fix CUT command for W3CWigdet items

preferencesAboutTextFull
ivan.ilyin 13 years ago
parent f6c6c2b451
commit de832d01ec
  1. 8
      src/domain/UBGraphicsWidgetItem.cpp
  2. 2
      src/domain/UBGraphicsWidgetItem.h
  3. 3
      src/domain/UBGraphicsWidgetItemDelegate.cpp

@ -231,6 +231,14 @@ void UBGraphicsWidgetItem::removeAllDatastoreEntries()
void UBGraphicsWidgetItem::remove()
{
if (mDelegate)
mDelegate->remove();
}
void UBGraphicsWidgetItem::removeScript()
{
if (mWebKitWidget && mWebKitWidget->page() && mWebKitWidget->page()->mainFrame())
{

@ -62,6 +62,8 @@ class UBGraphicsWidgetItem : public UBGraphicsProxyWidget
void removeAllDatastoreEntries();
virtual void remove();
void removeScript();
protected:

@ -105,7 +105,6 @@ UBGraphicsWidgetItem* UBGraphicsWidgetItemDelegate::delegated()
void UBGraphicsWidgetItemDelegate::remove(bool canundo)
{
delegated()->remove();
delegated()->removeScript();
UBGraphicsItemDelegate::remove(canundo);
}

Loading…
Cancel
Save