Separate duplicate map/layout, fix window disabling

This commit is contained in:
GriffinR
2025-09-28 13:44:17 -04:00
parent 4bae91230c
commit 7d6bbca0c2
3 changed files with 78 additions and 32 deletions

View File

@@ -366,6 +366,8 @@ private:
bool tilesetNeedsRedraw = false;
bool lockMapListAutoScroll = false;
QSet<QObject*> objectsDisabled;
bool setLayout(const QString &layoutId);
bool setMap(const QString &mapName);
void unsetMap();
@@ -390,7 +392,6 @@ private:
NewLayoutDialog* createNewLayoutDialog(const Layout *layoutToCopy = nullptr);
void openNewLayoutDialog();
void openDuplicateLayoutDialog(const QString &layoutId);
void openDuplicateMapOrLayoutDialog();
void openNewMapGroupDialog();
void openNewLocationDialog();
void scrollMapList(MapTree *list, const QString &itemName, bool expandItem = true);