No more disabling of actions in the instance toolbar. It makes no sense.
This commit is contained in:
parent
d911c9908c
commit
1194ec9a8e
10 changed files with 0 additions and 44 deletions
|
@ -282,19 +282,6 @@ QString LegacyInstance::defaultCustomBaseJar() const
|
|||
return PathCombine(binDir(), "mcbackup.jar");
|
||||
}
|
||||
|
||||
bool LegacyInstance::menuActionEnabled(QString action_name) const
|
||||
{
|
||||
if (flags().contains(VersionBrokenFlag))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (action_name == "actionChangeInstMCVersion")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
QString LegacyInstance::getStatusbarDescription()
|
||||
{
|
||||
if (flags().contains(VersionBrokenFlag))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue