[add] event colored grey if folder isEmpty

This commit is contained in:
Marcel Paffrath 2018-04-26 16:26:03 +02:00
parent ea9939a0c0
commit 8073a872c1

View File

@ -3019,6 +3019,9 @@ class MainWindow(QMainWindow):
if index%2: if index%2:
set_background_color(column, QtGui.QColor(*(245, 245, 245, 255))) set_background_color(column, QtGui.QColor(*(245, 245, 245, 255)))
if self.isEmpty(event.path):
set_foreground_color(column, QtGui.QColor(*(180, 180, 180, 255)))
if event == current_event: if event == current_event:
set_foreground_color(column, QtGui.QColor(*(0, 143, 143, 255))) set_foreground_color(column, QtGui.QColor(*(0, 143, 143, 255)))