If LastFolder isn't set, pick enginePath, not userGamePath
This commit is contained in:
parent
b2af29f067
commit
53992b8ed2
6 changed files with 20076 additions and 604 deletions
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -436,13 +436,12 @@ void DoAbout()
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
char const *label_text = "WorldSpawn\n"
|
char const *label_text = "WorldSpawn 1.0\n"
|
||||||
__DATE__ "\n\n"
|
"Build " __DATE__ "\n\n"
|
||||||
"QER taken to the space age.\n\n"
|
"Copyright (c) Vera Visions, LLC.\n\n"
|
||||||
"Developed by Vera Visions LLC.\n"
|
"This product contains software\n"
|
||||||
"Programming by Marco Hladik\n"
|
"technology from id Software, Inc.\n\n"
|
||||||
"Licensed by id software\n\n"
|
"id Technology (c) 2000 id Software, Inc.";
|
||||||
"Copyright (C) 2015-2021";
|
|
||||||
|
|
||||||
auto label = ui::Label(label_text);
|
auto label = ui::Label(label_text);
|
||||||
|
|
||||||
|
|
|
@ -1953,7 +1953,7 @@ const char *getLastFolderPath()
|
||||||
if (g_strLastFolder.empty()) {
|
if (g_strLastFolder.empty()) {
|
||||||
GlobalPreferenceSystem().registerPreference("LastFolder", make_property_string(g_strLastFolder));
|
GlobalPreferenceSystem().registerPreference("LastFolder", make_property_string(g_strLastFolder));
|
||||||
if (g_strLastFolder.empty()) {
|
if (g_strLastFolder.empty()) {
|
||||||
g_strLastFolder = g_qeglobals.m_userGamePath;
|
g_strLastFolder = EnginePath_get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return g_strLastFolder.c_str();
|
return g_strLastFolder.c_str();
|
||||||
|
|
8
worldspawn.desktop
Executable file
8
worldspawn.desktop
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=WorldSpawn
|
||||||
|
Comment=idTech BSP Level Editor
|
||||||
|
Exec=worldspawn %f
|
||||||
|
Icon=worldspawn
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
||||||
|
Categories=Development;
|
Loading…
Reference in a new issue