未验证 提交 efa9ee0f 编写于 作者: J Jim 提交者: GitHub

Merge pull request #2947 from cg2121/script-tabs

UI: Hide script tabs if no python settings
......@@ -19,6 +19,9 @@
<property name="currentIndex">
<number>0</number>
</property>
<property name="tabBarAutoHide">
<bool>true</bool>
</property>
<widget class="QWidget" name="scriptsTab">
<attribute name="title">
<string>Scripts</string>
......
......@@ -192,6 +192,7 @@ ScriptsTool::ScriptsTool() : QWidget(nullptr), ui(new Ui_ScriptsTool)
#else
delete ui->pythonSettingsTab;
ui->pythonSettingsTab = nullptr;
ui->tabWidget->setStyleSheet("QTabWidget::pane {border: 0;}");
#endif
delete propertiesView;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册