提交 fe14f007 编写于 作者: M Michael Pitidis

Fix bug with createMode sensitivity

The button should not track the drawing signal, it should always be
disabled in draw mode.
上级 c6969c55
......@@ -418,7 +418,6 @@ class MainWindow(QMainWindow, WindowMixin):
def toggleDrawingSensitive(self, drawing=True):
"""In the middle of drawing, toggling between modes should be disabled."""
self.actions.createMode.setEnabled(not drawing)
self.actions.editMode.setEnabled(not drawing)
if not drawing and self.beginner():
# Cancel creation.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册