Scroll map list to current map

This commit is contained in:
Marcus Huderle
2018-09-29 09:22:50 -05:00
parent 7e6726bef7
commit fe12e0bde5
2 changed files with 13 additions and 5 deletions

View File

@@ -127,9 +127,10 @@ private:
Ui::MainWindow *ui;
QStandardItemModel *mapListModel;
QList<QStandardItem*> *mapGroupsModel;
QMap<QString, QModelIndex> mapListIndexes;
Editor *editor = nullptr;
QIcon* mapIcon;
void setMap(QString);
void setMap(QString, bool scrollTreeView = false);
void redrawMapScene();
void loadDataStructures();
void populateMapList();