https://bugs.kde.org/show_bug.cgi?id=499777
Bug ID: 499777
Summary: `Window.showView` does not appear to work
Classification: Applications
Product: krita
Version: 5.2.9
Platform: Other
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Window.showView does not do anything.
STEPS TO REPRODUCE
1. Open two documents in Krita, open the scripter and paste this code in:
w=Krita.instance().activeWindow()
print(len(w.views())) # prints 2
w.showView(w.views()[0])
2. Press “run” and nothing happens. Replace the 0 with a 1 and try again –
still nothing happens.
EXPECTED BEHAVIOUR
The current tab is changed.
SOFTWARE/OS VERSIONS
Qt Version: 5.15.11
--
You are receiving this mail because:
You are watching all bug changes.