diff options
author | Ghostkeeper <rubend@tutanota.com> | 2018-12-05 11:52:43 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2018-12-05 11:52:43 +0300 |
commit | 5d95d1143762a72e7cfe9c384c9d5752f6b888c2 (patch) | |
tree | 7984f0a88f8074d2b295a2510f1e208280be1f54 /plugins/PrepareStage/PrepareMenu.qml | |
parent | a62da4e5239b2f29d66d261d5405aa3e35f3f6d0 (diff) |
Use setCurrentIndex to switch tabs at activeExtruderChanged
This fixes a mysterious segfault. We still don't know why the segfault occurred though. All we know is that QML logs something about a binding loop on currentIndex, and Qt logs something about removing range [-1 through 0] from VisualItemModel. When the tab bar is then made visible, Cura crashes. It is a nondeterministic crash. After this change, we are not seeing it any more (but with any nondeterministic bug, it's hard to verify that it was actually fixed).
Contributes to issue CURA-5876.
Diffstat (limited to 'plugins/PrepareStage/PrepareMenu.qml')
0 files changed, 0 insertions, 0 deletions