Skip to content

Commit f5550dd

Browse files
committed
small fix
1 parent 62a4af3 commit f5550dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NodeGraphQt/base/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def dropEvent(self, event):
4343
for url in event.mimeData().urls():
4444
self.import_session(url.toLocalFile())
4545
else:
46-
e.ignore()
46+
event.ignore()
4747

4848

4949
class NodeGraph(QtCore.QObject):
@@ -352,7 +352,7 @@ def widget(self):
352352
self._widget = QWidgetDrops()
353353
self._widget.import_session = self.import_session
354354

355-
layout = QtWidgets.QVBoxLayout(self._widget)
355+
layout = QtWidgets.QVBoxLayout(self._widget)
356356
layout.setContentsMargins(0, 0, 0, 0)
357357
layout.addWidget(self._viewer)
358358
return self._widget

0 commit comments

Comments
 (0)