change 'Install Mods' -> 'Download Mods' and change position
This commit is contained in:
parent
ca211558b5
commit
f95cebaf06
@ -144,8 +144,7 @@ ModFolderPage::ModFolderPage(
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
if(id == "mods") {
|
if(id == "mods") {
|
||||||
auto act = new QAction(tr("Install Mods"), this);
|
auto act = ui->actionDownload;
|
||||||
ui->actionsToolbar->insertActionBefore(ui->actionView_configs,act);
|
|
||||||
connect(act, &QAction::triggered, this, &ModFolderPage::on_actionInstall_mods_triggered);
|
connect(act, &QAction::triggered, this, &ModFolderPage::on_actionInstall_mods_triggered);
|
||||||
}
|
}
|
||||||
ui->actionsToolbar->insertSpacer(ui->actionView_configs);
|
ui->actionsToolbar->insertSpacer(ui->actionView_configs);
|
||||||
|
@ -84,6 +84,7 @@
|
|||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
<addaction name="actionAdd"/>
|
<addaction name="actionAdd"/>
|
||||||
|
<addaction name="actionDownload"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionRemove"/>
|
<addaction name="actionRemove"/>
|
||||||
<addaction name="actionEnable"/>
|
<addaction name="actionEnable"/>
|
||||||
@ -99,6 +100,14 @@
|
|||||||
<string>Add mods</string>
|
<string>Add mods</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionDownload">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Download Mods</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Download Mods</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="actionRemove">
|
<action name="actionRemove">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Remove</string>
|
<string>&Remove</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user