Remove specification of QToolButton popupMode when there is no menu

Specifically, the open button in the Python shell window and the blue
channel (only) in the texture viewer had values specified even though
they do not have an actual menu associated with the buttons. For the
texture viewer, this was explicitly set to the default value (delayed
popup); for the Python shell window the value is custom. The popup
mode is only used "for tool buttons that has a menu set or contains
a list of actions".

These were added in early commits for each feature, probably by
accident: 0837e66939 for the texture
viewer and 2a4596e06a for the Python
shell.
This commit is contained in:
William Pearson
2023-04-11 16:20:21 -07:00
committed by Baldur Karlsson
parent 90ae874c1d
commit 07a2fd4b1a
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -181,9 +181,6 @@
<iconset resource="../Resources/resources.qrc">
<normaloff>:/folder_page_white.png</normaloff>:/folder_page_white.png</iconset>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
-3
View File
@@ -761,9 +761,6 @@
<property name="checked">
<bool>true</bool>
</property>
<property name="popupMode">
<enum>QToolButton::DelayedPopup</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>