diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-04-28 00:04:37 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-04-28 00:04:37 +0200 |
commit | 4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90 (patch) | |
tree | f9e848e8e9b25f829e8607474980f0432387d9a4 /application/MainWindow.cpp | |
parent | 72c92893a5669a91e3d48b1341b6fde306db9a54 (diff) | |
download | MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.gz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.lz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.xz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.zip |
GH-1556 disable export for tracked FTB instances
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index da9ea779..e1d306b0 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1630,6 +1630,7 @@ void MainWindow::instanceChanged(const QModelIndex ¤t, const QModelIndex & ui->instanceToolBar->setEnabled(true); ui->actionLaunchInstance->setEnabled(m_selectedInstance->canLaunch()); ui->actionLaunchInstanceOffline->setEnabled(m_selectedInstance->canLaunch()); + ui->actionExportInstance->setEnabled(m_selectedInstance->canExport()); renameButton->setText(m_selectedInstance->name()); m_statusLeft->setText(m_selectedInstance->getStatusbarDescription()); updateInstanceToolIcon(m_selectedInstance->iconKey()); |