Do clear_entries before show_all for issue2019

This will prevent a concurrency issue on windows
This commit is contained in:
Nicolas Évrard committed 2011-05-20 18:32:25 +02:00
1 parent f08c11bcb2
commit f53d741ae3
1 file changed
+1 -1
+1 -1
View File
@@ -142,8 +142,8 @@ class DBListEditor(object):
self.dialog.set_default_response(gtk.RESPONSE_ACCEPT)
def run(self, profile_name):
self.clear_entries() # must be done before show_all for windows
self.dialog.show_all()
self.clear_entries()
model = self.profile_tree.get_model()
if model:
for i, row in enumerate(model):