Added zimm to contrib list

pull/160/head
Ryzerth 2021-07-03 20:31:54 +02:00
rodzic 78f079ca84
commit ecbb451763
3 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -18,7 +18,8 @@ namespace sdrpp_credits {
"Raov",
"Starman0620",
"Szymon Zakrent",
"Tobias Mädel"
"Tobias Mädel",
"Zimm"
};
const char* libraries[] = {

Wyświetl plik

@ -202,7 +202,9 @@ private:
editedListName = nameBuf;
}
if (strlen(nameBuf) == 0) { style::beginDisabled(); }
bool alreadyExists = (std::find(listNames.begin(), listNames.end(), editedListName) != listNames.end());
if (strlen(nameBuf) == 0 || alreadyExists) { style::beginDisabled(); }
if (ImGui::Button("Apply")) {
open = false;
@ -218,7 +220,7 @@ private:
refreshLists();
loadByName(editedListName);
}
if (strlen(nameBuf) == 0) { style::endDisabled(); }
if (strlen(nameBuf) == 0 || alreadyExists) { style::endDisabled(); }
ImGui::SameLine();
if (ImGui::Button("Cancel")) {
open = false;

Wyświetl plik

@ -338,6 +338,7 @@ I will soon publish a contributing.md listing the code style to use.
* [Syne Ardwin (WI9SYN)](https://esaille.me/)
* [Szymon Zakrent](https://github.com/zakrent)
* [Tobias Mädel](https://github.com/Manawyrm)
* [Zimm](https://github.com/invader-zimm)
## Libraries used