diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-22 01:25:34 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-22 01:25:34 +0200 |
commit | e60a652b78af8f985862da726898291f807ae058 (patch) | |
tree | 6f4f998c7b5853b1ab8156b6004a657350a468bb /application | |
parent | 9ba1cd15e7f902cae705ff22451e4f76ad0d71ab (diff) | |
download | MultiMC-e60a652b78af8f985862da726898291f807ae058.tar MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.gz MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.lz MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.xz MultiMC-e60a652b78af8f985862da726898291f807ae058.zip |
GH-1217 reset time played on zip pack import
Diffstat (limited to 'application')
-rw-r--r-- | application/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index c7626e54..e9f651cb 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1132,6 +1132,8 @@ InstancePtr MainWindow::instanceFromZipPack(QString instName, QString instGroup, } } newInstance->setGroupInitial(instGroup); + // reset time played on import... because packs. + newInstance->resetTimePlayed(); MMC->instances()->add(InstancePtr(newInstance)); MMC->instances()->saveGroupList(); |