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. 5
      src/api/UBWidgetUniboardAPI.cpp

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

Loading…
Cancel
Save