SANKORE-566

Interactivities:New interactivities call crash if they will be converted as tool
preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 81ec03feb2
commit 9a43cde3ff
  1. 3
      src/api/UBWidgetUniboardAPI.cpp

@ -466,9 +466,12 @@ void UBWidgetUniboardAPI::sendFileMetadata(QString metaData)
} }
void UBWidgetUniboardAPI::enableDropOnWidget(bool enable) void UBWidgetUniboardAPI::enableDropOnWidget(bool enable)
{
if (mGraphicsWidget)
{ {
mGraphicsWidget->setAcceptDrops(enable); mGraphicsWidget->setAcceptDrops(enable);
} }
}
void UBWidgetUniboardAPI::ProcessDropEvent(QDropEvent *event) void UBWidgetUniboardAPI::ProcessDropEvent(QDropEvent *event)
{ {

Loading…
Cancel
Save