Change some separators not hiding/showing properly in tex viewer toolbar

This commit is contained in:
baldurk
2017-02-14 19:14:52 +00:00
parent 3423c2e0d9
commit 0cc4e6e909
2 changed files with 2 additions and 13 deletions
-4
View File
@@ -1365,7 +1365,6 @@ void TextureViewer::UI_UpdateChannels()
HIDE(ui->customCreate);
HIDE(ui->customEdit);
HIDE(ui->customDelete);
SHOW(ui->depthStencilSep);
SHOW(ui->depthDisplay);
SHOW(ui->stencilDisplay);
@@ -1403,7 +1402,6 @@ void TextureViewer::UI_UpdateChannels()
HIDE(ui->customCreate);
HIDE(ui->customEdit);
HIDE(ui->customDelete);
HIDE(ui->depthStencilSep);
HIDE(ui->depthDisplay);
HIDE(ui->stencilDisplay);
@@ -1435,7 +1433,6 @@ void TextureViewer::UI_UpdateChannels()
HIDE(ui->customCreate);
HIDE(ui->customEdit);
HIDE(ui->customDelete);
HIDE(ui->depthStencilSep);
HIDE(ui->depthDisplay);
HIDE(ui->stencilDisplay);
@@ -1476,7 +1473,6 @@ void TextureViewer::UI_UpdateChannels()
SHOW(ui->customCreate);
SHOW(ui->customEdit);
SHOW(ui->customDelete);
HIDE(ui->depthStencilSep);
HIDE(ui->depthDisplay);
HIDE(ui->stencilDisplay);
+2 -9
View File
@@ -595,7 +595,7 @@
<rect>
<x>3</x>
<y>3</y>
<width>701</width>
<width>696</width>
<height>28</height>
</rect>
</property>
@@ -648,7 +648,7 @@
</widget>
</item>
<item>
<widget class="Line" name="depthStencilSep">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
@@ -757,13 +757,6 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="depthDisplay">
<property name="text">