From 92496db823db34f7f7fb1ab31eaef093a707c3e8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 12 Nov 2017 13:55:38 +0100 Subject: Fix the bookmarks management window --- poezio/windows/bookmark_forms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'poezio/windows') diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py index 98a3889e..5fbc3858 100644 --- a/poezio/windows/bookmark_forms.py +++ b/poezio/windows/bookmark_forms.py @@ -6,7 +6,7 @@ import curses from poezio.windows import base_wins from poezio.windows.base_wins import Win from poezio.windows.inputs import Input -from poezio.windows.data_forms import FieldInput +from poezio.windows.data_forms import FieldInput, FieldInputMixin from poezio.theming import to_curses_attr, get_theme from poezio.common import safeJID @@ -29,7 +29,7 @@ class BookmarkJIDInput(FieldInput, Input): def get_help_message(self): return 'Edit the text' -class BookmarkMethodInput(FieldInput, Win): +class BookmarkMethodInput(FieldInputMixin): def __init__(self, field): FieldInput.__init__(self, field) Win.__init__(self) @@ -96,7 +96,7 @@ class BookmarkPasswordInput(FieldInput, Input): def get_help_message(self): return 'Edit the secret text' -class BookmarkAutojoinWin(FieldInput, Win): +class BookmarkAutojoinWin(FieldInputMixin): def __init__(self, field): FieldInput.__init__(self, field) Win.__init__(self) -- cgit v1.2.3