diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-25 15:36:46 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:19 -0400 |
| commit | 00d4921e47e5eef08b10dac127795ecc8ccf84ae (patch) | |
| tree | d985993aa1713af103a19ca345fb898f47421e3a /src/modinfodialogtab.h | |
| parent | fb93d9ff2d1c158fb546471f6e18e4dc9b965c2f (diff) | |
only load nexus website on activation
fixed refresh not working, will now always clear the browser so the refresh is obvious
Diffstat (limited to 'src/modinfodialogtab.h')
| -rw-r--r-- | src/modinfodialogtab.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modinfodialogtab.h b/src/modinfodialogtab.h index c85d2ded..41d913f8 100644 --- a/src/modinfodialogtab.h +++ b/src/modinfodialogtab.h @@ -21,9 +21,13 @@ public: ModInfoDialogTab& operator=(ModInfoDialogTab&&) = default; virtual ~ModInfoDialogTab() = default; + void activated(); + void resetFirstActivation(); + virtual void clear() = 0; virtual void update(); virtual bool feedFile(const QString& rootPath, const QString& filename); + virtual void firstActivation(); virtual bool canClose(); virtual void saveState(Settings& s); virtual void restoreState(const Settings& s); @@ -70,6 +74,7 @@ private: MOShared::FilesOrigin* m_origin; int m_tabID; bool m_hasData; + bool m_firstActivation; }; |
