Fixed the configmanager sorting problem


  • Donator

    Hello ruri,

    i actually fixed the sorting problem in the config manager.
    It would only sort column "name" correctly and the other columns wouldnt even sort.
    The problem was the binding of the DisplayMemberBinding.

    https://workupload.com/file/YanauWBw

    here is a compiled version of the program or you can get it from my repo.

    https://github.com/Itamai/openbullet

    i tried to add it on the develop branch to merge it with your branch but i got a lot of errors and didnt know what to do 😂

    i also had a solution for this issue which i finished but accidentaly deleted the code 😞

    https://github.com/openbullet/openbullet/issues/135

    on startup openbullet creates a new txt file where it stores the variables if it sees a change in the string successkey or testsite.
    and on every startup openbullet reads the string in the file and in the setter i call a new method which reads the value from the file and if he sees a change again he replaces the strings in the file.
    if you like that idea i could reimplement it.


  • Admin

    Hey, thank you a lot for your work, I really appreciate it! I'm sad that you can't manage to make a PR, but I will make sure to commit the changes myself as soon as I can.
    For the issue you mentioned, I don't really like having one file just for a single setting, but nothing else comes to mind so maybe as a temporary fix you can work on that (make it create a file in the settings folder and define its path in the Globals class). Thanks again


  • Admin

    Also please open an issue reminding me to merge this code otherwise I'm sure I will forget. I'm currently very busy with exams and all my focus is there at the moment 😞


  • Donator

    @Ruri said in Fixed the configmanager sorting problem:

    Also please open an issue reminding me to merge this code otherwise I'm sure I will forget. I'm currently very busy with exams and all my focus is there at the moment 😞

    yep i will do that. i was actually very busy with exams too. but im stupid and was onde day late for the registration. now i have 3 more months to learn 😂

    good luck with your exams 👍


Log in to reply