issue #0002486: Menu 'Preferences...' entry changes depending on language
This commit is contained in:
@@ -316,7 +316,7 @@ void StdCmdDlgParameter::activated(int iMsg)
|
||||
//===========================================================================
|
||||
// Std_DlgPreferences
|
||||
//===========================================================================
|
||||
DEF_STD_CMD(StdCmdDlgPreferences);
|
||||
DEF_STD_CMD_C(StdCmdDlgPreferences);
|
||||
|
||||
StdCmdDlgPreferences::StdCmdDlgPreferences()
|
||||
:Command("Std_DlgPreferences")
|
||||
@@ -330,6 +330,13 @@ StdCmdDlgPreferences::StdCmdDlgPreferences()
|
||||
eType = 0;
|
||||
}
|
||||
|
||||
Action * StdCmdDlgPreferences::createAction(void)
|
||||
{
|
||||
Action *pcAction = Command::createAction();
|
||||
pcAction->setMenuRole(QAction::PreferencesRole);
|
||||
return pcAction;
|
||||
}
|
||||
|
||||
void StdCmdDlgPreferences::activated(int iMsg)
|
||||
{
|
||||
Gui::Dialog::DlgPreferencesImp cDlg(getMainWindow());
|
||||
|
||||
Reference in New Issue
Block a user