2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-18 14:00:09 +00:00

Don't suggest export if one is running.

This commit is contained in:
John Preston
2018-06-23 22:21:32 +01:00
parent 914e043abe
commit a200771868
5 changed files with 18 additions and 14 deletions

View File

@@ -50,6 +50,9 @@ void fillCodes() {
Messenger::Instance().onSwitchDebugMode();
}));
});
Codes.insert(qsl("viewlogs"), [] {
File::ShowInFolder(cWorkingDir() + "log.txt");
});
Codes.insert(qsl("testmode"), [] {
auto text = cTestMode() ? qsl("Do you want to disable TEST mode?") : qsl("Do you want to enable TEST mode?\n\nYou will be switched to test cloud.");
Ui::show(Box<ConfirmBox>(text, [] {