Fix menu being set as central widget

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-03-01 20:45:07 +00:00
parent a80b820e94
commit 8b897ac714

View File

@ -150,6 +150,10 @@
<addaction name="actionChangeInstGroup"/> <addaction name="actionChangeInstGroup"/>
<addaction name="actionViewSelectedInstFolder"/> <addaction name="actionViewSelectedInstFolder"/>
<addaction name="actionExportInstance"/> <addaction name="actionExportInstance"/>
<widget class="QMenu" name="exportInstanceMenu">
<addaction name="actionExportInstanceZip"/>
<addaction name="actionExportInstanceMrPack"/>
</widget>
<addaction name="actionCopyInstance"/> <addaction name="actionCopyInstance"/>
<addaction name="actionDeleteInstance"/> <addaction name="actionDeleteInstance"/>
<addaction name="actionCreateInstanceShortcut"/> <addaction name="actionCreateInstanceShortcut"/>
@ -462,25 +466,15 @@
<string>Export the selected instance to supported formats.</string> <string>Export the selected instance to supported formats.</string>
</property> </property>
</action> </action>
<widget class="QMenu" name="exportInstanceMenu">
<addaction name="actionExportInstanceZip"/>
<addaction name="actionExportInstanceMrPack"/>
</widget>
<action name="actionExportInstanceZip"> <action name="actionExportInstanceZip">
<property name="text"> <property name="text">
<string>Prism Launcher (zip)</string> <string>Prism Launcher (zip)</string>
</property> </property>
<property name="toolTip">
<string>Export the instance as a ZIP.</string>
</property>
</action> </action>
<action name="actionExportInstanceMrPack"> <action name="actionExportInstanceMrPack">
<property name="text"> <property name="text">
<string>Modrinth (mrpack)</string> <string>Modrinth (mrpack)</string>
</property> </property>
<property name="toolTip">
<string>Export to a Modrinth modpack.</string>
</property>
</action> </action>
<action name="actionCreateInstanceShortcut"> <action name="actionCreateInstanceShortcut">
<property name="icon"> <property name="icon">