362
362
self.previous_color_bg = self.current_color_bg
363
363
self.previous_color_fg = self.current_color_fg
365
365
self.current_color_bg = self.current_color_fg
366
366
self.current_color_fg = self.previous_color_bg
368
368
self.update_qr_code(self.qr_code_placeholder)
370
370
def on_toolbuttonColorReset_clicked(self, widget, data=None):
372
372
can be edited, so effectively it resets the foreground and
373
373
background colors to black and white, respectively'''
374
374
self.current_color_bg = Gdk.Color(65535, 65535, 65535) # White