mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Move sidebar target for plugins to only middle section
This commit is contained in:
parent
5673a834bc
commit
e33288b7c8
7 changed files with 67 additions and 92 deletions
|
@ -22,10 +22,7 @@ class SidebarControllerProxy(QObject):
|
|||
|
||||
@pyqtProperty(str, notify = activeSidebarViewChanged)
|
||||
def activeSidebarId(self):
|
||||
if self._controller.getActiveSidebarView() is not None:
|
||||
return self._controller.getActiveSidebarView().getPluginId()
|
||||
else:
|
||||
return "default"
|
||||
return self._controller.getActiveSidebarViewId()
|
||||
|
||||
@pyqtSlot(str)
|
||||
def setActiveSidebarView(self, sidebar_view_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue