mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
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:0837e66939for the texture viewer and2a4596e06afor the Python shell.
This commit is contained in:
committed by
Baldur Karlsson
parent
90ae874c1d
commit
07a2fd4b1a
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user