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() void UserInterface::profileLoaded()
{ {
ui->menuProfile->setEnabled(true); ui->menuProfile->setEnabled(false);
} }
void UserInterface::on_actionSelect_all_triggered() void UserInterface::on_actionSelect_all_triggered()

View file

@ -148,22 +148,21 @@
<property name="title"> <property name="title">
<string>&amp;Edit</string> <string>&amp;Edit</string>
</property> </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"/> <addaction name="actionOptions"/>
</widget> </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="menuFile"/>
<addaction name="menuEdit"/> <addaction name="menuEdit"/>
<addaction name="menuProfile"/>
<addaction name="menuHelp"/> <addaction name="menuHelp"/>
</widget> </widget>
<action name="actionAbout_gta5sync"> <action name="actionAbout_gta5sync">