moved Profile menu part to own menu

This commit is contained in:
Rafael 2016-04-12 23:27:47 +02:00
parent 7e491603b5
commit bbe26df827
2 changed files with 12 additions and 13 deletions

View file

@ -217,7 +217,7 @@ void UserInterface::on_actionAbout_gta5sync_triggered()
void UserInterface::profileLoaded()
{
ui->menuProfile->setEnabled(true);
ui->menuProfile->setEnabled(false);
}
void UserInterface::on_actionSelect_all_triggered()

View file

@ -148,22 +148,21 @@
<property name="title">
<string>&amp;Edit</string>
</property>
<widget class="QMenu" name="menuProfile">
<property name="title">
<string>&amp;Profile</string>
</property>
<addaction name="actionSelect_all"/>
<addaction name="actionDeselect_all"/>
<addaction name="separator"/>
<addaction name="actionExport_selected"/>
<addaction name="actionDelete_selected"/>
</widget>
<addaction name="menuProfile"/>
<addaction name="separator"/>
<addaction name="actionOptions"/>
</widget>
<widget class="QMenu" name="menuProfile">
<property name="title">
<string>Profile</string>
</property>
<addaction name="actionSelect_all"/>
<addaction name="actionDeselect_all"/>
<addaction name="separator"/>
<addaction name="actionExport_selected"/>
<addaction name="actionDelete_selected"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuProfile"/>
<addaction name="menuHelp"/>
</widget>
<action name="actionAbout_gta5sync">