UI: Hide script tabs if no python settings
This commit is contained in:
parent
5ba2d59b3c
commit
e9d6847fb6
@ -19,6 +19,9 @@
|
|||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="tabBarAutoHide">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<widget class="QWidget" name="scriptsTab">
|
<widget class="QWidget" name="scriptsTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Scripts</string>
|
<string>Scripts</string>
|
||||||
|
@ -192,6 +192,7 @@ ScriptsTool::ScriptsTool() : QWidget(nullptr), ui(new Ui_ScriptsTool)
|
|||||||
#else
|
#else
|
||||||
delete ui->pythonSettingsTab;
|
delete ui->pythonSettingsTab;
|
||||||
ui->pythonSettingsTab = nullptr;
|
ui->pythonSettingsTab = nullptr;
|
||||||
|
ui->tabWidget->setStyleSheet("QTabWidget::pane {border: 0;}");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
delete propertiesView;
|
delete propertiesView;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user