summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-01-06 10:01:40 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-01-06 10:01:40 +0100
commit093143cfef8959261fc4f66a65d2ecc4cdc2e23c (patch)
treef24e18cefe53dc5074db0db8932a4749eaf6ceae /gui/MainWindow.h
parentfcb8612c10ae1bb1d2d8883a762979e9bca1f31e (diff)
downloadMultiMC-093143cfef8959261fc4f66a65d2ecc4cdc2e23c.tar
MultiMC-093143cfef8959261fc4f66a65d2ecc4cdc2e23c.tar.gz
MultiMC-093143cfef8959261fc4f66a65d2ecc4cdc2e23c.tar.lz
MultiMC-093143cfef8959261fc4f66a65d2ecc4cdc2e23c.tar.xz
MultiMC-093143cfef8959261fc4f66a65d2ecc4cdc2e23c.zip
Fix instances getting deselected after FTB instances are loaded (or whenever the model is reset)
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r--gui/MainWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h
index af2f1dca..12d76da4 100644
--- a/gui/MainWindow.h
+++ b/gui/MainWindow.h
@@ -179,6 +179,8 @@ protected:
void setCatBackground(bool enabled);
void updateInstanceToolIcon(QString new_icon);
+ void setSelectedInstanceById(const QString &id);
+
private:
Ui::MainWindow *ui;
KCategoryDrawer *drawer;