Skip to content

Commit 36845f5

Browse files
committed
small cleanup
1 parent d611fc3 commit 36845f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NodeGraphQt/base/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def format_color(clr):
426426
node.update()
427427

428428
undo_cmd = NodeAddedCmd(self, node, node.model.pos)
429-
undo_cmd.setText('created node')
429+
undo_cmd.setText('create node: "{}"'.format(node.NODE_NAME))
430430
self._undo_stack.push(undo_cmd)
431431
self.node_created.emit(node)
432432
return node

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ applications that supports PySide and PySide2.
2626

2727
```python
2828
import sys
29-
from NodeGraphQt import QtWidgets
29+
from PySide2 import QtWidgets
3030
from NodeGraphQt import NodeGraph, Node, Backdrop, setup_context_menu
3131

3232
# create a example node object with a input/output port.

0 commit comments

Comments
 (0)