LaurentOngaro / UEVaultManager

Free and open-source replacement for the Epic Games Launcher application, mainly to manage the assets for Unreal Engine
https://laurentongaro.github.io/UEVaultManager/
GNU General Public License v3.0
4 stars 0 forks source link

[BUG] coloring cell is not working when starting with an invalid or empty data file #10

Closed LaurentOngaro closed 1 year ago

LaurentOngaro commented 1 year ago

To reproduce

  1. start with en empty or invalid file
    • an empty file will be create and a "fake" table with one fake row will be displayed
  2. Valid the dialog to rebuild the data
  3. The data are displayed but coloring is not working

Cause

The issue is due to missing keys in the colorRows(self) method used by a Pandastable and by default it raises a KeyError exception

Work Arround

Failed fixes

Coloring is not working anymore, even after a new data rebuild. Application must be restarted to restore coloring

LaurentOngaro commented 1 year ago

To restore initial errors, just change the name of colorRows(self) to use the default version

LaurentOngaro commented 1 year ago

Fixed