mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-02 05:28:19 +00:00
GH-336 Only allow non running instance renaming
This commit is contained in:
@@ -1831,6 +1831,7 @@ void MainWindow::instanceChanged(const QModelIndex ¤t, const QModelIndex &
|
||||
ui->actionLaunchInstanceOffline->setEnabled(m_selectedInstance->canLaunch());
|
||||
ui->actionExportInstance->setEnabled(m_selectedInstance->canExport());
|
||||
ui->renameButton->setText(m_selectedInstance->name());
|
||||
ui->actionRenameInstance->setDisabled(m_selectedInstance->isRunning());
|
||||
m_statusLeft->setText(m_selectedInstance->getStatusbarDescription());
|
||||
updateInstanceToolIcon(m_selectedInstance->iconKey());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user