mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-30 20:06:56 -05:00
Reopen Porymap to last-opened map/layout
This commit is contained in:
@@ -406,8 +406,7 @@ public:
|
||||
reset();
|
||||
}
|
||||
virtual void reset() override {
|
||||
this->recentMap = QString();
|
||||
this->recentLayout = QString();
|
||||
this->recentMapOrLayout = QString();
|
||||
this->useEncounterJson = true;
|
||||
this->customScripts.clear();
|
||||
this->readKeys.clear();
|
||||
@@ -419,8 +418,7 @@ public:
|
||||
QList<bool> getCustomScriptsEnabled();
|
||||
|
||||
QString projectDir;
|
||||
QString recentMap;
|
||||
QString recentLayout;
|
||||
QString recentMapOrLayout;
|
||||
bool useEncounterJson;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -373,8 +373,6 @@ private:
|
||||
|
||||
bool tilesetNeedsRedraw = false;
|
||||
|
||||
bool setDefaultView();
|
||||
bool setRecentView();
|
||||
bool setLayout(QString layoutId);
|
||||
bool setMap(QString, bool scroll = false);
|
||||
void unsetMap();
|
||||
@@ -398,12 +396,6 @@ private:
|
||||
QStandardItem* createMapItem(QString mapName, int groupNum, int inGroupNum);
|
||||
|
||||
bool setInitialMap();
|
||||
bool setInitialLayout();
|
||||
QString getDefaultMap();
|
||||
QString getDefaultLayout();
|
||||
|
||||
void setRecentMapConfig(QString map_name);
|
||||
void setRecentLayoutConfig(QString layoutId);
|
||||
void saveGlobalConfigs();
|
||||
|
||||
void refreshRecentProjectsMenu();
|
||||
|
||||
Reference in New Issue
Block a user