import_dialog: UI improvements

1. A warning regarding system data and system archives are added
2. Disable button when nothing is selected
This commit is contained in:
zhupengfei
2019-10-02 16:16:49 +08:00
parent 5d675d605a
commit 58f903f80f
2 changed files with 18 additions and 4 deletions
+3
View File
@@ -46,6 +46,9 @@ private:
// TODO: Is there a more elegant way of doing the same?
bool program_trigger = false;
// Whether the System Archive / System Data warning has been shown
bool warning_shown = false;
// TODO: Why this won't work as locals?
Core::ContentSpecifier current_content = {};
u64 current_count = 0;