fix tb when closing a message window
This commit is contained in:
parent
4f55c1826a
commit
addbc34bc6
|
@ -1084,13 +1084,13 @@ May be useful some day in the future?'''
|
||||||
elif self.mode == self.ONE_MSG_WINDOW_PERACCT:
|
elif self.mode == self.ONE_MSG_WINDOW_PERACCT:
|
||||||
acct = msg_win.account
|
acct = msg_win.account
|
||||||
elif self.mode == self.ONE_MSG_WINDOW_PERTYPE:
|
elif self.mode == self.ONE_MSG_WINDOW_PERTYPE:
|
||||||
type_ = msg_win.type
|
type_ = msg_win.type_
|
||||||
pos_x_key = type_ + '-msgwin-x-position'
|
pos_x_key = type_ + '-msgwin-x-position'
|
||||||
pos_y_key = type_ + '-msgwin-y-position'
|
pos_y_key = type_ + '-msgwin-y-position'
|
||||||
size_width_key = type_ + '-msgwin-width'
|
size_width_key = type_ + '-msgwin-width'
|
||||||
size_height_key = type_ + '-msgwin-height'
|
size_height_key = type_ + '-msgwin-height'
|
||||||
elif self.mode == self.ONE_MSG_WINDOW_NEVER:
|
elif self.mode == self.ONE_MSG_WINDOW_NEVER:
|
||||||
type_ = msg_win.type
|
type_ = msg_win.type_
|
||||||
size_width_key = type_ + '-msgwin-width'
|
size_width_key = type_ + '-msgwin-width'
|
||||||
size_height_key = type_ + '-msgwin-height'
|
size_height_key = type_ + '-msgwin-height'
|
||||||
elif self.mode == self.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER:
|
elif self.mode == self.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER:
|
||||||
|
|
Loading…
Reference in New Issue