GH-1148 New instance name is either version or modpack 'base name'

Default names now use the placeholder text in the new instance dialog.
This commit is contained in:
Petr Mrázek
2015-08-21 09:00:35 +02:00
parent 875c707358
commit 40ed2654c7
2 changed files with 43 additions and 10 deletions

View File

@ -34,7 +34,7 @@ public:
void updateDialogState();
void setSelectedVersion(BaseVersionPtr version, bool initial = false);
void setSelectedVersion(BaseVersionPtr version);
void loadVersionList();
@ -56,4 +56,5 @@ private:
BaseVersionPtr m_selectedVersion;
QString InstIconKey;
QString originalPlaceholderText;
};