mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Made it so that update window and set window can't be open simultaneously (don't explode the set by deleting the style, say).
Made update window enforce dependencies Added update button to welcome window (need icon still) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@756 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <gui/welcome_window.hpp>
|
||||
|
||||
// ----------------------------------------------------------------------------- : Update checking
|
||||
|
||||
@@ -39,6 +40,7 @@ DECLARE_POINTER_TYPE(PackageVersionData);
|
||||
class UpdatesWindow : public Frame {
|
||||
public:
|
||||
UpdatesWindow();
|
||||
~UpdatesWindow() { (new WelcomeWindow)->Show(); }
|
||||
|
||||
void DrawTitles(wxPaintEvent&);
|
||||
|
||||
@@ -52,7 +54,7 @@ class UpdatesWindow : public Frame {
|
||||
ACTION_UNINSTALL,
|
||||
ACTION_UPGRADE,
|
||||
ACTION_NOTHING,
|
||||
ACTION_NEW_MSE
|
||||
ACTION_NEW_MSE // means that you need a new version of MSE to install/upgrade
|
||||
};
|
||||
|
||||
typedef pair<PackageStatus, PackageAction> PackageData;
|
||||
|
||||
Reference in New Issue
Block a user