mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
Fix copying of line to clipboard
This commit is contained in:
parent
60e794e8a2
commit
492f663a5a
1 changed files with 5 additions and 1 deletions
|
@ -1565,7 +1565,11 @@ class Window (object):
|
|||
|
||||
line_index = self.get_active_line_index ()
|
||||
line = self.log_file.get_full_line (line_index)
|
||||
self.logger.warning ("FIXME: This gets the wrong level; we still have the level in the model only (d'oh)")
|
||||
|
||||
# FIXME:
|
||||
level = self.log_filter[(line_index,)][LogModelBase.COL_LEVEL]
|
||||
line[LogModelBase.COL_LEVEL] = level
|
||||
|
||||
self.clipboard.set_text (line.line_string ())
|
||||
|
||||
def handle_edit_copy_message_action_activate (self, action):
|
||||
|
|
Loading…
Reference in a new issue