Project

General

Profile

Actions

Bug #44

closed

Editing name in ActorDetailsPanel may not be reflected when attempting to edit table

Added by Damian Small about 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
ActorDetailsPanel
Target version:
Start date:
10/27/2010
Due date:
% Done:

0%

Estimated time:

Description

Start editing the name in the actor details panel, then start editing the same name in the table.

If you are editing the name in the actorDetailsPanel, then switch to the table, the value should be committed, and the value in the table should match the edited name.

If you set setClickCountToStart for InitTableTextCellEditor to 2, this problem does not happen, because the first click looses the focus on the name, and the table is updated. What seems to happen when the clicks is 1 is that the cell enters edit mode before the name text field looses focus, so it gets the original value, then the text field looses focus and the back end actor is updated, but the cell is in edit mode so it still has the old value. If you press 'Esc' then it will cancel and you will see the new value, but if you press 'Enter' or move to another cell, then the old value will get committed, and the change made in the actorDetailsPanel will be overwritten.

Possible solution: change setClickCountToStart to 2.


Related issues 1 (0 open1 closed)

Related to Bug #10: ActorPane: Changes don't take effect when table field also in edit modeClosed04/12/2010

Actions
Actions #1

Updated by Damian Small about 15 years ago

  • Status changed from New to Closed

Updated InitTableTextCellEditor to explicitly load the current actor name, since the table doesn't seem to do this properly on it's own.

Actions #2

Updated by Damian Small over 10 years ago

  • Estimated time deleted (0:00 h)
Actions

Also available in: Atom PDF